-
February 2nd, 2011, 01:34 PM
#16
Re: CButton in child window
Update: Actually, I am not sure that the function is being called. But i assume OnCreate is definitely called!
-
February 2nd, 2011, 01:35 PM
#17
Re: CButton in child window
Originally Posted by nitinmalapalli
Update: Actually, I am not sure that the function is being called. But i assume OnCreate is definitely called!
Don't assume anything. Verify it with the debugger.
-
February 2nd, 2011, 10:47 PM
#18
Re: CButton in child window
It turns out, and I'm ashamed of myself, that I had the statements after the "return 0;" of the int OnCreate(...)
I'm very grateful to you for having helped me out though, I never really had got around to using the Debugger. This was a learning experience, nevertheless.
Thanks very much, GCDEF and Victor!
Tags for this Thread
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
|