Print Page | Close Window

CommandBar and StatusBar heights?

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=3267
Printed Date: 06 October 2024 at 12:33am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: CommandBar and StatusBar heights?
Posted By: vb1to6
Subject: CommandBar and StatusBar heights?
Date Posted: 23 November 2005 at 5:48pm

Using VB 6.0 SP6 on XP Pro SP2...

How can I get the current toolbar height and the current status bar height when placed on an MDI form without resorting to using the MDI.ScaleHeight property provided by the form?

Using the MDI.ScaleHeight property allows me to determine the combined heights of the controls; however I need to know the height of each individual control at runtime.




Replies:
Posted By: Oleg
Date Posted: 24 November 2005 at 2:34am

Hello,

try CommandBars.GetClientRect.



-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS


Posted By: vb1to6
Date Posted: 25 November 2005 at 1:36pm

>try CommandBars.GetClientRect<

Thanks for the reply! Got any VB 6.0 code that shows this in action? I couldn't find anything useful in the help file.




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