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 Tech Support » A tool tip of the ribbon Collapse All
Subject Author Date
tera tera Apr 21, 2009 - 2:51 AM


A question

I want to automatically display accelerator key information for "a tool tip".

Is it impossible?

The accelerator key which a user set.

I want to do it about this in the same way.



Technical Support Apr 22, 2009 - 11:30 AM

The CExtToolControlBar::IsDisplayShortcutKeysOnScreenTips() virtual method returns a flag indicating whether a screen tip should display a shortcut key. By default, this method simply returns the CExtToolControlBar::g_bToolbarShortcutKeysOnScreenTips global flag. So, you can simply invoke

CExtToolControlBar::g_bToolbarShortcutKeysOnScreenTips = true;

tera tera Apr 22, 2009 - 7:30 PM


It is a wonderful function.