BCGControlBar Pro for MFC
virtual BOOL CBCGPToolbarMenuButton::IsEmptyMenuAllowed ( ) const
inlinevirtual

Called by the framework to determine if it's possible to open a submenu from the currently selected menu item.

Returns
Nonzero if it is possible to open a submenu when the currently selected item is empty; otherwise 0.

The framework calls this member function when it tries to open next cascade menu (submenu) from the currently selected menu item. The default implementation returns 0. Override the IsEmptyMenuAllowed function to customize this behavior.

Reimplemented in CBCGPColorMenuButton.