Print Page | Close Window

Ribbon Control Height

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Command Bars
Forum Description: Topics Related to Codejock Command Bars
URL: http://forum.codejock.com/forum_posts.asp?TID=13511
Printed Date: 28 February 2025 at 7:57am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Ribbon Control Height
Posted By: Simon HB9DRV
Subject: Ribbon Control Height
Date 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



Replies:
Posted By: Simon HB9DRV
Date Posted: 26 February 2009 at 5:44pm
Height is from GetRibbonPaintManager()->GetEditHeight();
 
Hah!


-------------
Simon HB9DRV



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net