Professional UI Solutions
Site Map   /  Register
 
 

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.

Forums » Prof-UIS Tech Support » F1 context help not working Collapse All
Subject Author Date
Malcolm D Apr 23, 2008 - 6:39 PM

Using 2.82 pressing F1 when hovering over a menu item or toolbar bar doens’t bring up the correct page, but if I use the help mode command (not sure or correct name, but it changes your cursor then lets you click on an item) it gets the correct page. This was working when my toolbars were plane MFC ones.


Thanks

Technical Support Apr 24, 2008 - 1:44 PM

There are the following static properties in the CExtPopupMenuWnd class:

bool CExtPopupMenuWnd::g_bTranslateContextHelpCmd = false;
ACCEL CExtPopupMenuWnd::g_accelContextHelp = { FVIRTKEY, VK_F1, ID_HELP };
By default, the menu item Help is not invoked in Prof-UIS. You should invoke the following line of code to enable it:
CExtPopupMenuWnd::g_bTranslateContextHelpCmd = true;
The CExtPopupMenuWnd::g_accelContextHelp data structure allows you to use any key combination for invoking help instead of VK_F1.