CommandBarsFrame and CommandBars |
Post Reply |
Author | |
Hemesh
Senior Member Joined: 10 August 2010 Status: Offline Points: 135 |
Post Options
Thanks(0)
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 |
|
jpbro
Senior Member Joined: 12 January 2007 Status: Offline Points: 1355 |
Post Options
Thanks(0)
|
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 |
|
Hemesh
Senior Member Joined: 10 August 2010 Status: Offline Points: 135 |
Post Options
Thanks(0)
|
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 |
|
rmcmanamy
Groupie Joined: 02 September 2009 Status: Offline Points: 54 |
Post Options
Thanks(0)
|
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 |
|
rmcmanamy
Groupie Joined: 02 September 2009 Status: Offline Points: 54 |
Post Options
Thanks(0)
|
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 |
|
Willowmaster
Senior Member Joined: 12 July 2010 Location: Netherlands Status: Offline Points: 180 |
Post Options
Thanks(0)
|
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 |
|
Hemesh
Senior Member Joined: 10 August 2010 Status: Offline Points: 135 |
Post Options
Thanks(0)
|
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 |
|
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 |