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

CommandBarsFrame and CommandBars

 Post Reply Post Reply
Author
Message
Hemesh View Drop Down
Senior Member
Senior Member


Joined: 10 August 2010
Status: Offline
Points: 135
Post Options Post Options   Thanks (0) Thanks(0)   Quote Hemesh Quote  Post ReplyReply Direct Link To This Post Topic: CommandBarsFrame and CommandBars
    Posted: 07 April 2011 at 5:55am
Hi all,

A couple questions for those in the know... What's the difference between these two controls, and where could you use the CommandBarFrame in an application?

Reason I ask this is we're having issues with using the CommandBars on an MDI form which is causing some screens to freeze. Using a CommandBarsFrame control though (which doesn't work well on MDI forms as it consumes the form at the moment), everything is fine and we're stumped at the moment! Thinking there maybe some subclassing going on between our various controls that could be interferring with each other, just like when you put CJ controls onto a RibbonBar/DockingPane and they just move to the left for no reason when you click them!
Product: Xtreme SuitePro (ActiveX) version 18.5.0

Platform: Windows 7 Enterprise (64-bit)

Language: Visual Basic 6.0
Back to Top
jpbro View Drop Down
Senior Member
Senior Member
Avatar

Joined: 12 January 2007
Status: Offline
Points: 1354
Post Options Post Options   Thanks (0) Thanks(0)   Quote jpbro Quote  Post ReplyReply Direct Link To This Post Posted: 07 April 2011 at 7:58am
AFAIK the CommandBarsFrame is for use in develop environments such as Access, where you don't have the same kind of form to "take over" with the regular CommandBars control. So you should be using the CommandBars (not *Frame), and try to figure out why you are having then problems that you are having.

Re: CJ controls jumping, put them into a standard VB6 PictureBox control first, and then attach the PictureBox to the RibbonBar/Docking pane to avoid the problem.
Product: Xtreme SuitePro (ActiveX) version 16.2.6
Platform: Windows XP - SP3

Language: Visual Basic 6.0 SP6

Back to Top
Hemesh View Drop Down
Senior Member
Senior Member


Joined: 10 August 2010
Status: Offline
Points: 135
Post Options Post Options   Thanks (0) Thanks(0)   Quote Hemesh Quote  Post ReplyReply Direct Link To This Post Posted: 07 April 2011 at 11:22am
Thanks jbbro. We'll do some more checking into this random vb6 window freeze we're getting when the CommandBars are in use, hopefully find a resolution soon! :)
Product: Xtreme SuitePro (ActiveX) version 18.5.0

Platform: Windows 7 Enterprise (64-bit)

Language: Visual Basic 6.0
Back to Top
rmcmanamy View Drop Down
Groupie
Groupie


Joined: 02 September 2009
Status: Offline
Points: 54
Post Options Post Options   Thanks (0) Thanks(0)   Quote rmcmanamy Quote  Post ReplyReply Direct Link To This Post Posted: 04 September 2013 at 11:54pm
Has this ever been resolved?  

We are seeing cases where the command bar menus or popups appear to lock up the VB6 application.  When it happens the mouseover events on the menus appear to stop and you cannot even use the close button on the application window.  

It seams to stay locked until you switch to another application who's window ends up showing on top of our application causing a redraw I'm guessing by Windows.  If you switch to an application who's window is beside our app it continues to be locked up when we return to our app.

Also I can set a timer that issues a CommandBars.ClosePopups after say 30 seconds.  So it appears that it could be solved if there was a way to have the popup close if the mouse is off of it for say 2 seconds or more.
Product: Xtreme SuitePro (ActiveX Unicode) version 22.0.0

Platform: Windows 11 (64bit)

Language: Visual Basic 6.0

Back to Top
rmcmanamy View Drop Down
Groupie
Groupie


Joined: 02 September 2009
Status: Offline
Points: 54
Post Options Post Options   Thanks (0) Thanks(0)   Quote rmcmanamy Quote  Post ReplyReply Direct Link To This Post Posted: 04 September 2013 at 11:54pm
Forgot, I'm on the latest 16.2.0 version of the ActiveX Command Bars.
Product: Xtreme SuitePro (ActiveX Unicode) version 22.0.0

Platform: Windows 11 (64bit)

Language: Visual Basic 6.0

Back to Top
Willowmaster View Drop Down
Senior Member
Senior Member
Avatar

Joined: 12 July 2010
Location: Netherlands
Status: Offline
Points: 180
Post Options Post Options   Thanks (0) Thanks(0)   Quote Willowmaster Quote  Post ReplyReply Direct Link To This Post Posted: 04 November 2013 at 4:19am
We also had these freezes with Docking Panes. Calling DoEvents (or maybe a redraw/refresh) after the lines that triggerd this effect helpt on several occasions, but in the end we restructured our code and the problems were solved. Not sure why. Maybe it had to do with panes not being visible at certain points in time.
Product: Xtreme SuitePro (ActiveX) version 15.3.1

Platform: Windows XP (32bit) - SP 3 (on VMWare)

Language: Visual Basic 6.0



Back to Top
Hemesh View Drop Down
Senior Member
Senior Member


Joined: 10 August 2010
Status: Offline
Points: 135
Post Options Post Options   Thanks (0) Thanks(0)   Quote Hemesh Quote  Post ReplyReply Direct Link To This Post Posted: 07 November 2013 at 8:19am
We ended up having to do the same thing and redesign what we were going to have on the MDIForm....

If you can do that, I'd recommend it since I'm not sure if this problem was resolved.
Product: Xtreme SuitePro (ActiveX) version 18.5.0

Platform: Windows 7 Enterprise (64-bit)

Language: Visual Basic 6.0
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.203 seconds.