Split menu button on toolbar |
Post Reply |
Author | |
Jaws
Newbie Joined: 20 June 2005 Location: Italy Status: Offline Points: 14 |
Post Options
Thanks(0)
Posted: 20 June 2005 at 10:12am |
Hi, I need to add a split button on my toolbar. When I press the drop arrow I need to display a popup menu. My toolbar is on a dialog application. How can I do it? Thank you |
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
As example: CXTPControlPopup* pControl = (CXTPControlPopup*)m_wndToolBar.GetControls()->SetControl Type(m_wndToolBar.GetControl(3), xtpControlSplitButtonPopup);
or CXTPControlPopup* pControl = (CXTPControlPopup*)m_wndToolBar.GetControls()->Add(xtpCon trolSplitButtonPopup, 100); pControl->GetCommandBar()->LoadMenu(..) |
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
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 |