Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Command Bars
  New Posts New Posts RSS Feed - CommandBars cause StatusBar disappearance
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

CommandBars cause StatusBar disappearance

 Post Reply Post Reply
Author
Message
dajv View Drop Down
Groupie
Groupie


Joined: 27 July 2004
Location: Australia
Status: Offline
Points: 80
Post Options Post Options   Thanks (0) Thanks(0)   Quote dajv Quote  Post ReplyReply Direct Link To This Post Topic: CommandBars cause StatusBar disappearance
    Posted: 13 October 2004 at 12:55am
Gday,

Has anyone else experienced the phenomenon of the CommandBars control hiding a VB statusbar at runtime? I've been unable to reproduce it in the Codejock sample projects by adding a VB statusbar (ie it doesn't end up hidden at runtime despite the presence of a CommandBars control on the form) - however in our main development project the CommandBars object hides the VB StatusBar control. Removing the CommandBars control stops the VB statusbar control from being hidden at runtime.

I have found that if i do this:
xcbCommandBars.StatusBar.Visible = True
then the VB StatusBar shows up. If I then hide the VB StatusBar control then I can see the CommandBars statusbar underneath.

Is this a known issue or am I doing something wrong?

Any advice is appreciated.


Thanks
Back to Top
SuperMario View Drop Down
Admin Group
Admin Group
Avatar

Joined: 14 February 2004
Status: Offline
Points: 18057
Post Options Post Options   Thanks (0) Thanks(0)   Quote SuperMario Quote  Post ReplyReply Direct Link To This Post Posted: 13 October 2004 at 7:04am
Private Sub CommandBars_GetClientBordersWidth(Left As Long, Top As Long, Right As Long, Bottom As Long)
    
    If sbStatusBar.Visible Then
        Bottom = sbStatusBar.Height
    End If

End Sub

(The VB statusbar is named sbStatusBar)

You don't need this code if using the Codejock statusbar.


Edited by SuperMario
Back to Top
dajv View Drop Down
Groupie
Groupie


Joined: 27 July 2004
Location: Australia
Status: Offline
Points: 80
Post Options Post Options   Thanks (0) Thanks(0)   Quote dajv Quote  Post ReplyReply Direct Link To This Post Posted: 13 October 2004 at 6:45pm
Thanks for that.

I'm not using the Codejock statusbar because I need to put images in it.

By the way, are there plans to make the Codejock statusbar have the new Outlook theme? As in:

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