|
dev
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
IMessageFilterI set up an IMessageFilter in an attempt to trap the WM_QUIT message from a
plain C# windows forms application. I never get the WM_QUIT message. How come? I also get a number of messages that are way outside of the windows message range. (C0F0, C0F3, 2100) and others. I am guessing that these are .NET messages. Whatever they are where are they documented and what keyword can I use to search and find them? Thanks <newscorrespond***@charter.net> wrote in message
news:3vmCg.8$PZ4.0@newsfe04.lga... Because the message loop basically looks like this:>I set up an IMessageFilter in an attempt to trap the WM_QUIT message from a > plain C# windows forms application. I never get the WM_QUIT message. How > come? while (GetMessage(.....)) { if (ProcessFilters()) continue; TranslateMessage DispatchMessage } A WM_QUIT message casuses the loop to quit before it calls any filters. > I also get a number of messages that are way outside of the windows I don't think they are documented> message > range. > (C0F0, C0F3, 2100) and others. I am guessing that these are .NET messages. > Whatever they are where are they documented and what keyword can I use to > search and find them? /claes |
|||||||||||||||||||||||