Partilhar via


CContextMenuManager::SetDontCloseActiveMenu

Controls whether the CContextMenuManager closes the active pop-up menu when it displays a new pop-up menu.

void SetDontCloseActiveMenu (
   BOOL bSet = TRUE
);

Parameters

  • [in] bSet
    A Boolean parameter that controls whether to close the active pop-up menu. A value of TRUE indicates the active pop-up menu is not closed. FALSE indicates that the active pop-up menu is closed.

Remarks

By default, the CContextMenuManager closes the active pop-up menu.

See Also

Reference

CContextMenuManager Class

Hierarchy Chart