Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Toolkit Pro
  New Posts New Posts RSS Feed - Vertical Align to CXTPControlComboBox on the Ribbo
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Vertical Align to CXTPControlComboBox on the Ribbo

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

Joined: 08 July 2008
Location: Greece
Status: Offline
Points: 70
Post Options Post Options   Thanks (0) Thanks(0)   Quote sdancer75 Quote  Post ReplyReply Direct Link To This Post Topic: Vertical Align to CXTPControlComboBox on the Ribbo
    Posted: 30 April 2012 at 8:07am
Hi,

1) Is that possible to SetStyle my CXTPControlComboBox on the Ribbon that aligns the text below the object ?

2) Is that possible to vertically align the CXTPControlComboBox with a button that is positioned on the right side ?

Regards,
George
Just me!
Back to Top
Ssytems View Drop Down
Newbie
Newbie


Joined: 02 February 2012
Status: Offline
Points: 6
Post Options Post Options   Thanks (0) Thanks(0)   Quote Ssytems Quote  Post ReplyReply Direct Link To This Post Posted: 07 May 2012 at 8:07pm
I am having the same question. Need to add a watermark/logo to the ribbon and would like to align it to the right while the rest of the controls are left aligned.
Any help would be much appreciated
Back to Top
sdancer75 View Drop Down
Groupie
Groupie
Avatar

Joined: 08 July 2008
Location: Greece
Status: Offline
Points: 70
Post Options Post Options   Thanks (0) Thanks(0)   Quote sdancer75 Quote  Post ReplyReply Direct Link To This Post Posted: 10 May 2012 at 7:02am
With the combobox I used :

pComboHistory->SetStyle(xtpButtonIcon); 

to hide the label, and to attach the button as much as possible next to the combobox I used

pControl->SetStyle(xtpButtonIcon);
pControl->SetIconSize(CSize(32,32));
pControl->SetWidth(36);

Hope it will helps.

George

Just me!
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.172 seconds.