Print Page | Close Window

CXTPControlPopup issue

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=16397
Printed Date: 20 June 2025 at 11:56am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: CXTPControlPopup issue
Posted By: archies
Subject: CXTPControlPopup issue
Date Posted: 09 March 2010 at 4:30am
Hi ;

i want to create a popup bar programatically.
i did it like this :
CXTPPopupToolBar* pFlyOutBar=(CXTPPopupToolBar*) CXTPPopupToolBar::CreatePopupToolBar(pCommandBars);

CXTPControlPopup* pControl = (CXTPControlPopup* )pGroup->Add(xtpControlSplitButtonPopup, cmdIDBtn);

pControl->SetCommandBar(pFlyOutBar);
pFlyOutBar->InternalRelease();

By doing this i am able to create a splitButton type PopupControl.

all things done good till now.

Now i want to update the main button Text, when user click any button in the list.(the behavious same as the flyout in the toolbar)

i want to update the properties of the main popup container .
How can i ?

i am attaching the bmp for clear visualisation of my problem .

Thnx





                         
               



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