Print Page | Close Window

how to use CXTPToolBar in ActiveX Control

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Command Bars
Forum Description: Topics Related to Codejock Command Bars
URL: http://forum.codejock.com/forum_posts.asp?TID=852
Printed Date: 09 June 2024 at 5:23pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: how to use CXTPToolBar in ActiveX Control
Posted By: Kelvin
Subject: how to use CXTPToolBar in ActiveX Control
Date Posted: 17 June 2004 at 2:23am
I want to use CXTPTOOLBar in a MFC OCX Control, but i can't update cmdui and show button  tooltip. Is anyone knows ?



Replies:
Posted By: Oleg
Date Posted: 18 June 2004 at 2:26am

in ActiveX OCX Controls WM_IDLEUPDATECMDUI message doesn't generated.

you must add Timer for each 100ms and call it:

void OnTimer(...)

{

...

SendMessageToDescendants(WM_IDLEUPDATECMDUI);

}



-------------
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