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
Printable View
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
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...
Thanks CyberCowboy!
First coud not find it. But the overrides are only visible when the ClassView is active.