CXTPControlPopup issue |
Post Reply |
Author | |
archies
Groupie Joined: 17 November 2009 Location: India Status: Offline Points: 33 |
Post Options
Thanks(0)
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 |
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |