CButton in child window - Page 2
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Page 2 of 2 FirstFirst 12
Results 16 to 18 of 18

Thread: CButton in child window

  1. #16
    Join Date
    Feb 2011
    Posts
    39

    Re: CButton in child window

    Update: Actually, I am not sure that the function is being called. But i assume OnCreate is definitely called!

  2. #17
    GCDEF is offline Elite Member Power Poster
    Join Date
    Nov 2003
    Posts
    12,108

    Re: CButton in child window

    Quote Originally Posted by nitinmalapalli View Post
    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.

  3. #18
    Join Date
    Feb 2011
    Posts
    39

    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!

Page 2 of 2 FirstFirst 12

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
  •  


Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center