![]() |
Split menu button on toolbar |
Post Reply
|
| Author | |
Jaws
Newbie
Joined: 20 June 2005 Location: Italy Status: Offline Points: 14 |
Post Options
Thanks(0)
Quote Reply
Topic: Split menu button on toolbarPosted: 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
Senior Member
Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
Quote Reply
Posted: 21 June 2005 at 2:24pm |
|
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 |