Click here to Skip to main content
15,887,822 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Program is running but window is not displayed. what are the possible problems? Program is written in win32 using visual studio 2008.
Posted
Comments
Chuck O'Toole 3-Mar-12 14:05pm    
How is this any different than the problem you posted the other day?

http://www.codeproject.com/Questions/339394/Not-getting-Dialogbox-in-my-program
Sergey Alexandrovich Kryukov 3-Mar-12 18:06pm    
Not enough information. There are many ways to screw up things. Who know which one is your favorite? :-)
Could you make a highly simplified but complete code sample?
--SA

Have you tried debugging your code ?
Manually stepping into the code and setting breakpoints ?
Do you check for return codes ?
Are you initializing variables ?
 
Share this answer
 
Comments
amityadav4a 3-Mar-12 12:54pm    
Yes everything looks fine. All the variables and build is successful.
Hard to tell without seeing the code. My best guesses:

- the window area is either 0 by 0 pixels or outside the screen area
- ShowWindow (SW_SHOW) is missing
- the Create call fails for some reason, e.g. no valid window class
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month


CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900