|
-
May 21st, 2010, 12:27 PM
#8
Re: DoModal failed
 Originally Posted by avirat
This simple code does not works. DoModal returns -1.
Could be that the resource of the dialog cannot be loaded. Have a look at AfxSetResourceHandle.
Cheers, D Drmmr
Please put [code][/code] tags around your code to preserve indentation and make it more readable.
As long as man ascribes to himself what is merely a posibility, he will not work for the attainment of it. - P. D. Ouspensky
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|