Creates and initializes a CMenuTearOffManager object.
const UINT uiCmdFirst,
const UINT uiCmdLast
A string that contains the path of a registry key. The application uses this registry key to store information for the tear-off menus.
The first tear off menu ID.
The last tear off menu ID.
if the CMenuTearOffManager is created and initialized successfully; false if an error occurs or if the CMenuTearOffManager already exists.
Use this function to enable tear-off menus in your application. You should call this function from InitInstance.