Print Page | Close Window

Control Synchronization of the Quick Access Bar

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Command Bars
Forum Description: Topics Related to Codejock Command Bars
URL: http://forum.codejock.com/forum_posts.asp?TID=17635
Printed Date: 01 May 2025 at 1:06pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Control Synchronization of the Quick Access Bar
Posted By: cpede
Subject: Control Synchronization of the Quick Access Bar
Date 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++)



Replies:
Posted By: Michl
Date Posted: 10 December 2010 at 5:58am
Hello

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

Michael


Posted By: cpede
Date 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++)



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net