Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Command Bars
  New Posts New Posts RSS Feed - CommandBar and StatusBar heights?
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

CommandBar and StatusBar heights?

 Post Reply Post Reply
Author
Message
vb1to6 View Drop Down
Newbie
Newbie


Joined: 23 November 2005
Location: United States
Status: Offline
Points: 11
Post Options Post Options   Thanks (0) Thanks(0)   Quote vb1to6 Quote  Post ReplyReply Direct Link To This Post Topic: CommandBar and StatusBar heights?
    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.

Back to Top
Oleg View Drop Down
Admin Group
Admin Group


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post Posted: 24 November 2005 at 2:34am

Hello,

try CommandBars.GetClientRect.

Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
vb1to6 View Drop Down
Newbie
Newbie


Joined: 23 November 2005
Location: United States
Status: Offline
Points: 11
Post Options Post Options   Thanks (0) Thanks(0)   Quote vb1to6 Quote  Post ReplyReply Direct Link To This Post 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.

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.156 seconds.