BCGControlBar Pro for MFC
CBCGPTaskDialog

Detailed Description

The CBCGPTaskDialog class implements Windows-like Task Dialog. In general, API of this class is very similar to CTaskDialog, but it has the following important additional features.

  • Visual themes support.
  • Hyperlink tooltips.
  • Control info tips.
  • Progress bar styles (narrow channel, marquee dots/gradient).

Take a look at the TaskDialogDemo sample for more information.

+ Inheritance diagram for CBCGPTaskDialog:

Public Member Functions

 CBCGPTaskDialogConstructor.
 
 CBCGPTaskDialogConstructor.
 
 AddCommandControlAdds a new command button control to the CBCGPTaskDialog.
 
 AddRadioButtonAdds a radio button to the CBCGPTaskDialog.
 
 AreControlInfoTipsTells whether the controls infotips are enabled.
 
 AreHyperlinkTooltipsEnabledTells whether the links tooltips are enabled.
 
 EnableControlInfoTipsEnables or disabled controls infotips.
 
 EnableHyperlinkTooltipsEnables or disabled links tooltips.
 
 GetOptionsReturns the option flags (combination of BCGP_TDF_*) for this CBCGPTaskDialog.
 
 GetSelectedCommandControlIDReturns the selected command button control.
 
 GetSelectedRadioButtonIDReturns the selected radio button.
 
 GetVerificationCheckboxStateRetrieves the state of the verification check box.
 
 IsCommandControlEnabledDetermines whether a command button control or button is enabled.
 
 IsRadioButtonEnabledDetermines whether a radio button is enabled.
 
 LoadCommandControlsAdds command button controls by using data from the string table.
 
 LoadRadioButtonsAdds radio button controls by using data from the string table.
 
 RemoveAllCommandControlsRemoves all the command controls from the CBCGPTaskDialog.
 
 RemoveAllRadioButtonsRemoves all the radio buttons from the CBCGPTaskDialog.
 
 SetCommandControlOptionsUpdates a command button control on the CBCGPTaskDialog.
 
 SetCommonButtonOptionsUpdates a subset of common buttons to be enabled and to require UAC elevation.
 
 SetCommonButtonsAdds common buttons to the CBCGPTaskDialog.
 
 SetContentUpdates the content of the CBCGPTaskDialog.
 
 SetDefaultCommandControlSpecifies the default command button control.
 
 SetDefaultRadioButtonSpecifies the default radio button.
 
 SetDialogWidthAdjusts the width of the CBCGPTaskDialog.
 
 SetExpansionAreaUpdates the expansion area of the CBCGPTaskDialog.
 
 SetFooterIconUpdates the footer icon of the CBCGPTaskDialog.
 
 SetFooterIconUpdates the footer icon of the CBCGPTaskDialog.
 
 SetFooterTextUpdates the text on the footer of the CBCGPTaskDialog.
 
 SetMainIconUpdates the main icon of the CBCGPTaskDialog.
 
 SetMainIconUpdates the main icon of the CBCGPTaskDialog.
 
 SetMainInstructionUpdates the main instruction of the CBCGPTaskDialog.
 
 SetOptionsConfigures the options for the CBCGPTaskDialog.
 
 SetProgressBarMarqueeConfigures a marquee bar for the CBCGPTaskDialog and adds it to the dialog box.
 
 SetProgressBarNarrowChannelSpecifies whether the progress bar has a narrow channel.
 
 SetProgressBarPositionAdjusts the position of the progress bar.
 
 SetProgressBarRangeAdjusts the range of the progress bar.
 
 SetProgressBarStateSets the state of the progress bar and displays it on the CBCGPTaskDialog.
 
 SetRadioButtonOptionsEnables or disables a radio button.
 
 SetVerificationCheckboxSets the checked state of the verification check box.
 
 SetVerificationCheckboxTextSets the text that is displayed to the right of the verification check box.
 
 SetWindowTitleSets the title of the CBCGPTaskDialog.
 

Static Public Member Functions

 ShowDialogCreates and displays a CBCGPTaskDialog.