CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3
  1. #1
    Join Date
    Jul 2000
    Location
    Netherlands
    Posts
    57

    Wm_initdialog?????

    Hi there,

    Can anyone tell me what happened with the WM_INITDIALOG message. I can not find it in the list of messages in Visual Studio.NET.

    I need this to do some initilialisation on dialog windows.

    Thanks,
    Sander

  2. #2
    Join Date
    May 2000
    Location
    Utah, USA
    Posts
    76

    WM_INITDIALOG isn't there...

    I know what you mean, it took me a while to figure out where it is. If you are looking at the "Properties" window, there is a little toolbar with a few buttons on it that are "Properties", "Events", "Messages" and finally "Overrides".

    The WM_INITDIALOG message no longer appears with the other messages in the "Messages" list but in the "Overrieds" list. Just look for the "OnInitDialog" override and there will be an "Add" option in the drop-down.

    That is how you respond to that message along with quite a few others.


    Hope that helps...

  3. #3
    Join Date
    Jul 2000
    Location
    Netherlands
    Posts
    57

    Cool

    Thanks CyberCowboy!

    First coud not find it. But the overrides are only visible when the ClassView is active.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured