void CBCGPTaskDialog::AddCommandControl | ( | int | nCommandControlID, |
const CString & | strCaption, | ||
BOOL | bEnabled = TRUE , |
||
BOOL | bRequiresElevation = FALSE |
||
) |
Adds a new command button control to the CBCGPTaskDialog.
nCommandControlID | The command control identification number. |
strCaption | The string that the CBCGPTaskDialog displays to the user. Use this string to explain the purpose of the command. |
bEnabled | A Boolean parameter that indicates if the new button is enabled or disabled. |
bRequiresElevation | A Boolean parameter that indicates whether a command requires elevation. |