![]() |
Update Command Handling in a Dyn. Linked DLL |
Post Reply
|
| Author | |
karim
Newbie
Joined: 09 January 2006 Location: United States Status: Offline Points: 7 |
Post Options
Thanks(0)
Quote Reply
Topic: Update Command Handling in a Dyn. Linked DLLPosted: 31 August 2006 at 11:54am |
|
I have an MFC application that makes use of an MFC DLL (dynamically linked) both of which use CodeJock. The DLL creates a window derived from CXTPFrameWnd that has a dockable toolbar. It works except for the command update handling. One side-effect of this problem is that UPDATE_COMMAND_UI routing is ignored. Another is that when you click on a button in the toolbar, it remains pressed (although I'm not clear why that would be).
I assume all this is caused by OnIdle messages not being handled in the DLL. Does anyone have a recommended way of working around this problem? Or am I going about it wrong by using an XTPFrameWnd? I should add that this frame window is being placed in the main application as a child window. Thanks, Karim |
|
|
Karim Shehadeh
Verint Video Solutions http://www.verint.com |
|
![]() |
|
Oleg
Senior Member
Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
Quote Reply
Posted: 31 August 2006 at 4:21pm |
|
Yes, beacuse OnIdle...
You can route OnIdle from Main Application to DLL.
|
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
|
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 |