Print Page | Close Window

RibbonBar menu behaviour and a bug?

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=8970
Printed Date: 04 October 2024 at 5:55am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: RibbonBar menu behaviour and a bug?
Posted By: Luza
Subject: RibbonBar menu behaviour and a bug?
Date Posted: 30 November 2007 at 12:24pm
When adding popupcontrols to a ribbonbar like you do with the options menu in your ribbon sample, I would like the menu to automatically expand when you focus on it with the mouse.

In the CXTPMenubar when switching between menus, the menus do automatically expand. It seems like this behaviour has been removed, though the ribbonbar  has been derived from the menubar.

Is there a way to get this back? How do i do it?

:))

Oh and i t seems there is a bug with the cues and the Ribbonbar:


pCommandBars->GetCommandBarsOptions()->bShowKeyboardTips = TRUE;
pCommandBars->GetCommandBarsOptions()->ShowKeyboardCues(xtpKeyboardCuesShowAlways);
BOOL IsIt = pRibbonBar->IsKeyboardCuesVisible()


IsIt is Always zero. I seems like bShowKeyboardTips interferes with the keyboard cues. Correct me if i am wrong. :)




Replies:
Posted By: Oleg
Date Posted: 30 November 2007 at 1:35pm

Sorry, its designed only for MenuBar....

 
same with cues - see BOOL CXTPRibbonBar::IsKeyboardCuesVisible() const method. you can override it and restore default behavior


-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS



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