![]() |
Ribbon inside a dialog |
Post Reply
|
| Author | |
cpede
Senior Member
Joined: 13 August 2004 Location: Denmark Status: Offline Points: 683 |
Post Options
Thanks(0)
Quote Reply
Topic: Ribbon inside a dialogPosted: 11 July 2014 at 10:27am |
|
Can I create a ribbon bar inside of a dialog?
Or can I create something that looks the same and uses the Ribbon themes?
-cpede |
|
|
Product: Xtreme ToolkitPro (24.0.0)
Platform: Windows 10 (x64) Language: Visual Studio 2017 (C++) |
|
![]() |
|
Alex H.
Senior Member
Joined: 12 February 2004 Status: Offline Points: 266 |
Post Options
Thanks(0)
Quote Reply
Posted: 24 July 2014 at 10:47am |
|
Hi!
Yes it works ![]() I have a dialog derived from CXTPDialogBase<CXTResizeDialog> An in OnInitDialog i create the ribbon: CXTPCommandBars* pCommandBars = GetCommandBars(); ASSERT(pCommandBars); ... CXTPRibbonBar* pRibbonBar = (CXTPRibbonBar*) pCommandBars->Add(_T(""), xtpBarTop, RUNTIME_CLASS(CXTPRibbonBar)); ... |
|
![]() |
|
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 |