Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Command Bars
  New Posts New Posts RSS Feed - force control layout in a ribbon
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

force control layout in a ribbon

 Post Reply Post Reply
Author
Message
Osiris View Drop Down
Groupie
Groupie
Avatar

Joined: 18 June 2007
Status: Offline
Points: 29
Post Options Post Options   Thanks (0) Thanks(0)   Quote Osiris Quote  Post ReplyReply Direct Link To This Post Topic: force control layout in a ribbon
    Posted: 21 August 2008 at 7:54am
Hi again,

I've got a ribbon tab with a group in it (with ControlsGrouping flag set), that contains 2 edit controls and 2 buttons. If there is enough space for the group the controls are always arranged in two rows like shown here:



Only if the ribbons space is resized and the space for the group is shrinked, the groups controls are rearranged in 3 rows like this:



My question: is there a possibility of forcing the group to arrange the controls always as shown in the second picture?


Thanks in advance
Stefan






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: 22 August 2008 at 1:20am
Hi,
If you have last version you can add pControl->SetFlags(xtpFlagWrapRow); for controls need to wrap. (logon and edit controls)
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
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.063 seconds.