BCGControlBar Pro for MFC
static void CBCGPPopupMenu::SetForceMenuFocus ( BOOL  bValue)
inlinestatic

Forces a mode when the input focus is returned to the menu bar when a popup menu is displayed.

Call this method with bValue set to TRUE to enable the mode when the input focus is immediately returned to the menu bar if a popup menu is displayed.

This flag is static and affects the entire application.

The default value is FALSE.

Parameters
bValueSpecifies the new mode to set.