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.
Subject |
Author |
Date |
|
Chun Pong Lau
|
Apr 2, 2008 - 10:36 PM
|
In my ribbonbar sdi ( version 2.82) application when we right click on ribbon bar one context menu appear having option 1) customize quick access toolbar 2) reset quick tool bar 3) place quick access toolbar below the ribbon 4) minize the ribbon bar
How can I disable this context menu completely?
Thanks a lot.
|
|
Chun Pong Lau
|
Apr 3, 2008 - 8:42 PM
|
|
|
Technical Support
|
Apr 3, 2008 - 11:43 AM
|
There are two virtual methods in the CExtRibbonBar class for tracking context menus over the are taken up by controls bares and over ribbon buttons: virtual bool OnRibbonTrackButtonContextMenu(
CExtBarButton * pTBB,
UINT nFlags,
CPoint point
);
virtual bool OnRibbonTrackBarContextMenu(
UINT nFlags,
CPoint point
); You should override these methods and simply return true without invoking the parent class method.
|
|
Chun Pong Lau
|
Apr 3, 2008 - 8:42 PM
|
|
|