BOOL CBCGPTearOffManager::Initialize | ( | LPCTSTR | lpszRegEntry, |
UINT | uiTearOffMenuFirst, | ||
UINT | uiTearOffMenuLast | ||
) |
Initializes a CBCGPTearOffManager object.
This function is used to initialize a CBCGPTearOffManager object. The [uiTearOffMenuFirst-uiTearOffMenuLast] range must be a valid continuous interval. It defines the number of tear-off menus that can appear simultaneously in the application.
lpszRegEntry | Specifies the registry entry where the settings of tear off bars are stored. |
uiTearOffMenuFirst | Specifies the first tear off menu ID. |
uiTearOffMenuLast | Specifies the last tear off menu ID. |