WM_QUERYSESSION among others |
Post Reply |
Author | |
cj_user
Newbie Joined: 14 August 2006 Status: Offline Points: 23 |
Post Options
Thanks(0)
Posted: 20 September 2006 at 7:34pm |
I tried this on the WTLSample -- as I was experiencing this on the real project I am working on.
1. On MainFrame & Child -- added MESSAGE_HANDLER for WM_CLOSE & WM_QUERYENDSESSION.
2. From MainFrame OnClose, send a WM_QUERYENDSESSION to self (SendMessage)
3. On MainFrame OnQueryEndSession method -- called MDIGetActive -- send WM_QUERYENDSESSION to child
Result:
Case 1: Without CodeJock toolbars
Message routed as: MF OnClose->MF OnQueryEndSession-> Child OnQueryEndSession
Case 2: With CJ Toolbars
Only MF OnClose gets called
Ummm why?
Also- I received a lot of complaints that once we injected the CodeJock toolbars -- it eats up all the messages/events. Some MDI windows that normally work would freeze. Any idea about this?
I wish I could give more details on this but Im trying to figure out the WHY myself and it is hard because I only have a DLL.
For the events I am only capturing 5 events: 1, 2, 3, 5 & 6
|
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |