Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Command Bars
  New Posts New Posts RSS Feed - Mixing controls and tabs in Ribbon
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Mixing controls and tabs in Ribbon

 Post Reply Post Reply
Author
Message
cpede View Drop Down
Senior Member
Senior Member


Joined: 13 August 2004
Location: Denmark
Status: Offline
Points: 668
Post Options Post Options   Thanks (0) Thanks(0)   Quote cpede Quote  Post ReplyReply Direct Link To This Post Topic: Mixing controls and tabs in Ribbon
    Posted: 08 March 2011 at 4:33am
It is possible to add controls directly to the ribbon bar tab area. This is very nice and useful. Typically you would set the xtpFlagRightAlign flag, showing the control to the right, not conflicting with the ribbon bar tabs.
 
However if you align left, the control is placed in front of the tabs, but after the File tab. My question is, it possible to manage where to add the control in the left area?
* Can I add a control as the very first before the File tab, and all the other tabs?
* Can I add a control after the all the tabs, still aligned to the left?
 
-cpede
Product: Xtreme ToolkitPro (24.0.0)
Platform: Windows 10 (x64)
Language: Visual Studio 2017 (C++)
Back to Top
cpede View Drop Down
Senior Member
Senior Member


Joined: 13 August 2004
Location: Denmark
Status: Offline
Points: 668
Post Options Post Options   Thanks (0) Thanks(0)   Quote cpede Quote  Post ReplyReply Direct Link To This Post Posted: 13 May 2011 at 4:30am
Sorry, bumping this...
Product: Xtreme ToolkitPro (24.0.0)
Platform: Windows 10 (x64)
Language: Visual Studio 2017 (C++)
Back to Top
Oleg View Drop Down
Admin Group
Admin Group


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post Posted: 13 May 2011 at 5:25am
Hi,

Sorry, both not possible.
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
Carlos Rocha View Drop Down
Groupie
Groupie


Joined: 11 February 2008
Location: Portugal
Status: Offline
Points: 92
Post Options Post Options   Thanks (0) Thanks(0)   Quote Carlos Rocha Quote  Post ReplyReply Direct Link To This Post Posted: 14 May 2011 at 9:28pm
You mean something like this?



I just added controls to Ribbon before creating RibbonTabs
SuitePro 20.3.0
OS: Windows 10
Language: Visual Objects 2.8
Back to Top
cpede View Drop Down
Senior Member
Senior Member


Joined: 13 August 2004
Location: Denmark
Status: Offline
Points: 668
Post Options Post Options   Thanks (0) Thanks(0)   Quote cpede Quote  Post ReplyReply Direct Link To This Post Posted: 16 May 2011 at 2:53am
Yes, but can I control the positions?
Can I e.g. put the cut, copy and paste button in between the Calender and Tasks tabs?
 
-cpede
Product: Xtreme ToolkitPro (24.0.0)
Platform: Windows 10 (x64)
Language: Visual Studio 2017 (C++)
Back to Top
Carlos Rocha View Drop Down
Groupie
Groupie


Joined: 11 February 2008
Location: Portugal
Status: Offline
Points: 92
Post Options Post Options   Thanks (0) Thanks(0)   Quote Carlos Rocha Quote  Post ReplyReply Direct Link To This Post Posted: 16 May 2011 at 6:05am
No 
SuitePro 20.3.0
OS: Windows 10
Language: Visual Objects 2.8
Back to Top
Asim View Drop Down
Newbie
Newbie


Joined: 27 March 2009
Status: Offline
Points: 7
Post Options Post Options   Thanks (0) Thanks(0)   Quote Asim Quote  Post ReplyReply Direct Link To This Post Posted: 18 May 2011 at 6:35am
Originally posted by Carlos Rocha Carlos Rocha wrote:

You mean something like this?



I just added controls to Ribbon before creating RibbonTabs


How can u achieve this thing.

Qucik Access Toolbar
Area where Login <- -> buttons there
Ribbon Tabs


I am interested in the red part , any code snippet is appreciated.

Back to Top
Asim View Drop Down
Newbie
Newbie


Joined: 27 March 2009
Status: Offline
Points: 7
Post Options Post Options   Thanks (0) Thanks(0)   Quote Asim Quote  Post ReplyReply Direct Link To This Post Posted: 09 June 2011 at 1:27am
hi i need some like this ,, how can we achieve this.


i need to insert a row (having some control) just before the Ribbon tab.


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.219 seconds.