BCGControlBar Pro for MFC
static INT_PTR __stdcall CBCGPTaskDialog::ShowDialog ( const CString &  strContent,
const CString &  strMainInstruction,
const CString &  strTitle,
int  nIDCommandControlsFirst,
int  nIDCommandControlsLast,
int  nCommonButtons = BCGP_TDCBF_YES_BUTTON|BCGP_TDCBF_NO_BUTTON,
int  nTaskDialogOptions = BCGP_TDF_ENABLE_HYPERLINKS|BCGP_TDF_USE_COMMAND_LINKS,
const CString &  strFooter = CString() 
)
static

Creates and displays a CBCGPTaskDialog.

Parameters
strContentThe string to use for the content of the CBCGPTaskDialog.
strMainInstructionThe main instruction of the CBCGPTaskDialog.
strTitleThe title of the CBCGPTaskDialog.
nIDCommandControlsFirstThe string ID of the first command.
nIDCommandControlsLastThe string ID of the last command.
nCommonButtonsA mask of the common buttons to add to the CBCGPTaskDialog (combination of BCGP_TDCBF_OK_BUTTON, BCGP_TDCBF_YES_BUTTON, BCGP_TDCBF_NO_BUTTON, BCGP_TDCBF_CANCEL_BUTTON, BCGP_TDCBF_RETRY_BUTTON and BCGP_TDCBF_CLOSE_BUTTON.
nTaskDialogOptionsThe set of options to use for the CBCGPTaskDialog.
strFooterhe string to use as the footer.
Returns
An integer that corresponds to the selection made by the user.