Click to See Complete Forum and Search --> : Wm_initdialog?????
Sander Hunter
May 28th, 2002, 09:01 AM
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
CyberCowboy
May 31st, 2002, 02:46 PM
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...
Sander Hunter
June 3rd, 2002, 02:25 AM
Thanks CyberCowboy!
First coud not find it. But the overrides are only visible when the ClassView is active.
codeguru.com
Copyright Internet.com Inc., All Rights Reserved.