CommandBar and StatusBar heights? |
Post Reply |
Author | |
vb1to6
Newbie Joined: 23 November 2005 Location: United States Status: Offline Points: 11 |
Post Options
Thanks(0)
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. |
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
Hello, try CommandBars.GetClientRect. |
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
vb1to6
Newbie Joined: 23 November 2005 Location: United States Status: Offline Points: 11 |
Post Options
Thanks(0)
|
>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. |
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |