Print Page | Close Window

CXTPControlPopup with CXTPPopupToolBar

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=8780
Printed Date: 29 September 2024 at 1:25am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: CXTPControlPopup with CXTPPopupToolBar
Posted By: aionov
Subject: CXTPControlPopup with CXTPPopupToolBar
Date Posted: 14 November 2007 at 10:42am
Oleg, we're wondering if you know how to detect
* mouse click on elements of CXTPToolbar with CXTPControlPopup ( with using CXTPControlPopup::CreateControlPopup(xtpControlButtonPopup) ) before the control shows up;
* mouse click outside an active CXTPControlPopup on CXTPToolbar (when focus gets killed);

We would appreciate a hint on this!



Replies:
Posted By: Oleg
Date Posted: 15 November 2007 at 8:48am
Hi,
 
 See Samples\CommandBars\DynamicPopups it shows how you can build menu dynamically
 


-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS


Posted By: aionov
Date Posted: 15 November 2007 at 11:47am
Thank you, I looked example, but cannot find the answer to my second question.


Posted By: Oleg
Date Posted: 16 November 2007 at 6:57am
Hi,
You can override CXTPControlPopup  class, and its OnSetPopup method.


-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS


Posted By: aionov
Date Posted: 16 November 2007 at 8:30am
Oleg, thanks so much for your response and very useful hint! Appreciate your contribution to the knowledge base on Codejock!



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