Print Page | Close Window

OnInitCommandsPopup

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=5140
Printed Date: 28 March 2024 at 2:08pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: OnInitCommandsPopup
Posted By: ABuenger
Subject: OnInitCommandsPopup
Date Posted: 25 September 2006 at 9:32am
If I add a popup or split button to a ribbon group (xtpControlPopup / xtpControlSplitButtonPopup) the Add method takes an ID as the second parameter.
 
How can I get this ID in OnInitCommandsPopup? How can I identify the CXTPPopupBar?
 


-------------
Codejock support



Replies:
Posted By: Oleg
Date Posted: 25 September 2006 at 2:11pm
Hello,
 
you can call
pPopupBar->SetBarID to set Id for popup bar.


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


Posted By: ABuenger
Date Posted: 25 September 2006 at 2:54pm
Originally posted by oleg oleg wrote:

Hello,
 
you can call
pPopupBar->SetBarID to set Id for popup bar.
 
GetCommandBar()->SetBarID() works, but shouldn't that been automatically set when I Add the popup?
 


-------------
Codejock support



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