Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Command Bars
  New Posts New Posts RSS Feed - CXTPControlPopup issue
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

CXTPControlPopup issue

 Post Reply Post Reply
Author
Message
archies View Drop Down
Groupie
Groupie


Joined: 17 November 2009
Location: India
Status: Offline
Points: 33
Post Options Post Options   Thanks (0) Thanks(0)   Quote archies Quote  Post ReplyReply Direct Link To This Post Topic: CXTPControlPopup issue
    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





                         
               
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.125 seconds.