BOOL CBCGPWorkspace::EnableTearOffMenus | ( | LPCTSTR | lpszRegEntry, |
const UINT | uiCmdFirst, | ||
const UINT | uiCmdLast | ||
) |
Enables using of tear-off menus in application.
Use this function to enable tear-off menus in application. Call this function from InitInstance.
This function initializes the global CBCGPTearOffManager object.
lpszRegEntry | The registry entry for the tearoff bars. |
uiCmdFirst | Specifies the first tear off menu ID. |
uiCmdLast | Specifies the last tear off menu ID. |