Print Page | Close Window

Update Command Handling in a Dyn. Linked DLL

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Toolkit Pro
Forum Description: Topics Related to Codejock Toolkit Pro
URL: http://forum.codejock.com/forum_posts.asp?TID=4937
Printed Date: 11 November 2025 at 5:24am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Update Command Handling in a Dyn. Linked DLL
Posted By: karim
Subject: Update Command Handling in a Dyn. Linked DLL
Date 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



Replies:
Posted By: Oleg
Date 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



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net