CBCGPOutlookBarPane* CBCGPOutlookBar::CreateCustomPage | ( | LPCTSTR | lpszPageName, |
BOOL | bActivatePage = TRUE , |
||
DWORD | dwEnabledDocking = CBRS_ALIGN_ANY , |
||
BOOL | bEnableTextLabels = TRUE |
||
) |
Creates a custom page at the runtime.
Use this function to allow the users to create custom outlook bar pages. It is possible to create up to 100 pages per application. The page control IDs are started from 0xF000.
The creation fails if the total number of custom outlook bar pages exceeds 100.
Use RemoveCustomPage() to delete custom pages.
lpszPageName | The page label. |
bActivatePage | If TRUE, the page is activated upon creation. |
dwEnabledDocking | A combination of CBRS_ALIGN_ flags that specifies the enabled docking sides when the page is detached. |
bEnableTextLabels | If TRUE, the text labels are enabled for the buttons resided on the page. |