Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Command Bars
  New Posts New Posts RSS Feed - Ribbon Control Height
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Ribbon Control Height

 Post Reply Post Reply
Author
Message
Simon HB9DRV View Drop Down
Senior Member
Senior Member
Avatar

Joined: 07 July 2005
Location: Switzerland
Status: Offline
Points: 458
Post Options Post Options   Thanks (0) Thanks(0)   Quote Simon HB9DRV Quote  Post ReplyReply Direct Link To This Post Topic: Ribbon Control Height
    Posted: 26 February 2009 at 5:37pm
I'm using the ribbon for the first time - wow!
 
Question - I have custom controls using CDateTimeCtrl, how do I compute the optimum height? I am using the default height for the ribbon, it produces three rows of controls, what's the height for each row / control?
 
I'll dig into the source to see if I can find anything.
Simon HB9DRV
Back to Top
Simon HB9DRV View Drop Down
Senior Member
Senior Member
Avatar

Joined: 07 July 2005
Location: Switzerland
Status: Offline
Points: 458
Post Options Post Options   Thanks (0) Thanks(0)   Quote Simon HB9DRV Quote  Post ReplyReply Direct Link To This Post Posted: 26 February 2009 at 5:44pm
Height is from GetRibbonPaintManager()->GetEditHeight();
 
Hah!
Simon HB9DRV
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.