Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Toolkit Pro
  New Posts New Posts RSS Feed - Update Command Handling in a Dyn. Linked DLL
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Update Command Handling in a Dyn. Linked DLL

 Post Reply Post Reply
Author
Message
karim View Drop Down
Newbie
Newbie
Avatar

Joined: 09 January 2006
Location: United States
Status: Offline
Points: 7
Post Options Post Options   Thanks (0) Thanks(0)   Quote karim Quote  Post ReplyReply Direct Link To This Post Topic: Update Command Handling in a Dyn. Linked DLL
    Posted: 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
Back to Top
Oleg View Drop Down
Senior Member
Senior Member


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.047 seconds.