Professional UI Solutions
Site Map   /  Register


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 General Discussion » RibbonBar EventHandling Collapse All
Subject Author Date
Shailesh Nikam Dec 6, 2006 - 10:06 PM


I want to know how to handle events for buttons on RibbonBar.

Thanks in advance.

Suhai Gyorgy Dec 7, 2006 - 4:58 AM

The MFC’s command handling mechanism is used in the ribbon bar absolutely like in toolbars and menus. So simply add the command handler for the button in your message map: ON_COMMAND(ID_EDIT_CUT, OnEditCut)

Shailesh Nikam Dec 7, 2006 - 9:46 AM

Thanks a lot