wildfire99
July 19th, 2007, 06:41 PM
I've started a new project in Visual Studio as a C++/CLI/WinForms app to try out this new UI code. The lack of proper documentation is aggravating, but oh well...
I'm coming from a raw Win32 background, so I'm used to dealing with windows messages directly in a WndProc() of some sort. I have DLL's that send my app custom-defined messages that notify me of events going on, say something like WM_DOSOMETHINGLOL defined as WM_USER + 100.
Where in the whole WinForms/CLI thing can I check or declare a handler for when my app receives the 'WM_DOSOMETHINGLOL' message? I can't find anything in any documentation anywhere for setting up message handlers for arbitrary message ID's.
Is there a good book I can buy/read for someone coming from old skool Win32 into .NET/WinForms/CLI? I sort of like it thus far but it's a bit convoluted since everything is sort of hidden, and most books on this only show you how to do it in MFC which is silly at this point in time.
I'm coming from a raw Win32 background, so I'm used to dealing with windows messages directly in a WndProc() of some sort. I have DLL's that send my app custom-defined messages that notify me of events going on, say something like WM_DOSOMETHINGLOL defined as WM_USER + 100.
Where in the whole WinForms/CLI thing can I check or declare a handler for when my app receives the 'WM_DOSOMETHINGLOL' message? I can't find anything in any documentation anywhere for setting up message handlers for arbitrary message ID's.
Is there a good book I can buy/read for someone coming from old skool Win32 into .NET/WinForms/CLI? I sort of like it thus far but it's a bit convoluted since everything is sort of hidden, and most books on this only show you how to do it in MFC which is silly at this point in time.