CMenuTearOffManager::SetInUse
This topic is included for completeness. For more detail see the source code located in the VC\atlmfc\src\mfc folder of your Visual Studio installation.
void SetInUse(
UINT uiCmdId,
BOOL bUse = TRUE
);
Parameters
[in] uiCmdId
[in] bUse
Requirements
Header: afxmenutearoffmanager.h