Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Command Bars
  New Posts New Posts RSS Feed - Control Synchronization of the Quick Access Bar
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Control Synchronization of the Quick Access Bar

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


Joined: 13 August 2004
Location: Denmark
Status: Offline
Points: 680
Post Options Post Options   Thanks (0) Thanks(0)   Quote cpede Quote  Post ReplyReply Direct Link To This Post Topic: Control Synchronization of the Quick Access Bar
    Posted: 03 December 2010 at 8:43am
I'm just creating my first Ribbon bar using CJ.

The Ribbon itself is looking great and I'm using Galleries, Combo boxes etc.
My problem is the Quick Access bar, and Customized toolbars.

First, when you add a control to the Quick Access bar by right-clicking on an existing control in the Ribbon, it works fine for most controls. But some, like Combo boxes, it adds the control, but there is no relation to the existing control in the Ribbon. Changing to a new item in the Combo list will make the two instances of the control have different selections? It seems that they are not synchronized?

When making Custom toolbars you have a similar problem. When you select a control button opening a gallery nothing is happening when you press the control in the Custom toolbar?
I was expecting the Control Bar to handle the synchronization, do I need to make some extra code?

-cpede
Product: Xtreme ToolkitPro (24.0.0)
Platform: Windows 10 (x64)
Language: Visual Studio 2017 (C++)
Back to Top
Michl View Drop Down
Senior Member
Senior Member


Joined: 14 September 2007
Status: Offline
Points: 138
Post Options Post Options   Thanks (0) Thanks(0)   Quote Michl Quote  Post ReplyReply Direct Link To This Post Posted: 10 December 2010 at 5:58am
Hello

look for CreateOriginalControls() or SetOriginalControls().
But I don't know if this solves your problem...

Michael
Back to Top
cpede View Drop Down
Senior Member
Senior Member


Joined: 13 August 2004
Location: Denmark
Status: Offline
Points: 680
Post Options Post Options   Thanks (0) Thanks(0)   Quote cpede Quote  Post ReplyReply Direct Link To This Post Posted: 10 December 2010 at 6:08am
But shouldn't CJ CommandBar design take care of thats situation?
It seems strange that you can attach controls to the Quick Access Toolbar, and then the default handlers are not called, and that they are not synchronized between clones of the controls?
 
I really hope this is fixed in v15, otherwise I have to find a way to disable or remove the Quick Access Toolbar.
 
-cpede
Product: Xtreme ToolkitPro (24.0.0)
Platform: Windows 10 (x64)
Language: Visual Studio 2017 (C++)
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.094 seconds.