BOOL CBCGPOutlookBarPane::AddButton | ( | UINT | uiImageID, |
UINT | uiLabel, | ||
UINT | iIdCommand, | ||
int | iInsertAt = -1 |
||
) |
Inserts a button into an outlook bar's page.
Call this function to insert a new button into an outlook bar's page. The button's image can be loaded either from the application resources or from a disk file. If the index specified by iInsertAt is -1, the button is added at the end of the page.
uiImageID | Specifies the bitmap resource identifier. |
uiLabel | A string resource ID. |
iIdCommand | Specifies the button control's ID. |
iInsertAt | Specifies the zero-based index on the outlook bar's page at which to insert the button. |