Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Command Bars
  New Posts New Posts RSS Feed - RibbonBar menu behaviour and a bug?
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

RibbonBar menu behaviour and a bug?

 Post Reply Post Reply
Author
Message
Luza View Drop Down
Newbie
Newbie
Avatar

Joined: 30 November 2007
Status: Offline
Points: 4
Post Options Post Options   Thanks (0) Thanks(0)   Quote Luza Quote  Post ReplyReply Direct Link To This Post Topic: RibbonBar menu behaviour and a bug?
    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. :)

Back to Top
Oleg View Drop Down
Admin Group
Admin Group


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post 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
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.141 seconds.