Professional UI Solutions
Site Map   /  Register
 
 

Forum

Please Log In to post a new message or reply to an existing one. If you are not registered, please register.

NOTE: Some forums may be read-only if you are not currently subscribed to our technical support services.

Forums » Prof-UIS Tech Support » RE: RibbonMenu question (Part2) Collapse All
Subject Author Date
tera tera May 25, 2009 - 6:39 PM

Hello.


>// PROF-UIS TECH SUPPORT

>The folloiwing code snippet fixes the assertion problem.

>You are reinitializing the ribbon bar control using

>the same command tree as was used in it before.

>But after the quick access toolbar customization, this command tree

>contains some temporarily command nodes.

>So, such command tree should not be assigned to the ribbon bar again.

>The code snippet below just cleans temporarily command nodes.


Thank you for support.

The Assert does not occur.

The program works.


However, The Quick accelerator information that I customized becomes invalid.

I hope to maintain the setting information of the Quick accelerator.

Will the repair of the program be difficult?

Give my best regards.


http://www.prof-uis.com/prof-uis/tech-support/support-forum/ribbonmenu-question-part2-64504.aspx

Technical Support May 26, 2009 - 2:02 PM

We visited your desktop and fixed the accelerators issue by adding the OnUpdateAccelGlobalInfo( true ); line of code.

tera tera May 26, 2009 - 7:06 PM

Hello.


The program does not yet work well.


I add clipborad.






After MenuRebuild , clipborad which I added disappears. 





ClipBorad which I added ,

Please do not delete it.


Please cope.

I move a remote PC today. 

Technical Support May 27, 2009 - 1:12 PM

Yes, of course it disappears. We reset the ribbon nodes after re-assigning the root node. We suspected that is what you really need. You can use the CExtRibbonBar::CustomizeStateSerialize() method instead of accelerator table serialization and ribbon node re-assignment and the quick access toolbar will be restored. But in this case your menu rebuilding method will simply does nothing. So, we need to know more details about your task.

tera tera May 27, 2009 - 7:01 PM

Hello.


Can you meet the following specifications?


When ClipBorad is displayed, QA-ClipBorad is enable



When ClipBorad is non-displayed, QA-ClipBorad is not enable



( QA = QuickAccessButton )


Give my best regards

Technical Support May 29, 2009 - 11:01 AM

We cannot reproduce this issue:

http://www.prof-uis.com/download/forums/tmp/GroupButtonInQatbIsReallyEnabled.PNG

Group buttons in the quick access toolbar are enabled independently of the selected ribbon tab page.
It looks as you created some command button with the same identifier as a ribbon group button.

tera tera May 28, 2009 - 11:53 PM

Hello.


I’m sorry.

The specifications that I hope for are as follows.


Anyway, I set it in this setting window.

Please do not erase the QuickAccess information.



I perform MenuReuild ,

but Please do not erase the QuickAccess information

tera tera May 28, 2009 - 6:09 PM

I ask for an answer.

I am troubled

Give my best regards

tera tera May 26, 2009 - 7:12 AM

Today, I started a remote PC.