Note
If the CustomIcon property is set for a TaskDialogButton,
the custom icon will be displayed, regardless of this property.
[FlagsAttribute]
public enum TaskDialogOptions<FlagsAttribute>
Public Enumeration TaskDialogOptions[FlagsAttribute]
public enum class TaskDialogOptions[<FlagsAttribute>]
type TaskDialogOptions| None | 0x00000000 | Represents no options. |
| HyperlinksEnabled | 0x00000001 | Indicates that the TaskDialog should resolve hyperlinks. |
| AllowCancel | 0x00000008 | Indicates that the TaskDialog should be able to be closed by Alt+F4, the Escape button, and the title bar’s close button, even if no cancel button is specified in StandardButtons. |
| UseCommandLinks | 0x00000010 | Indicates that the Buttons should be displayed as command links (using a standard task dialog glyph) instead of simple push buttons. If both UseCommandLinks and UseCommandLinksNoIcon are set, glyphs will be visible. |
| UseCommandLinksNoIcon | 0x00000020 | Determines whether the Buttons should be displayed as command links (without displaying the default) instead of simple push buttons. If both UseCommandLinks and UseCommandLinksNoIcon are set, glyphs will be visible. |
| ExpandFooterArea | 0x00000040 | Indicates that the details text of a TaskDialog should be displayed at the footer area instead of immediately after the message. This flag is ignored when DetailsText is not set. |
| DetailsExpanded | 0x00000080 | Indicates that details should be expanded when the TaskDialog appears. This flag is ignored when DetailsText is empty. |
| PositionRelativeToWindow | 0x00001000 | Indicates that the TaskDialog should be centered to the owner window rather than the current display. |
| RightToLeftLayout | 0x00002000 | Indicates that the TaskDialog should appear in right-to-left layout. |
| AllowMinimize | 0x00008000 | Indicates that the TaskDialog can be minimized. Works only if the task dialog is shown without specifying an owner, so it is executed as a non-modal dialog. It implicitly allows cancellation as if AllowCancel was also set. |
| TranslateStandardButtons | 0x00010000 | Indicates that the texts of StandardButtons are localized from the library resources rather than using Windows resources. On non-Windows platforms this flag is ignored, as if it was always set. |
| ForceShowSysMenu | 0x00020000 | Indicates that the task dialog should show the form system menu with an icon even if it is shown as a modal dialog (i.e. it has an owner). The system menu icon reflects the main icon of the task dialog, or shows the default icon if no main icon is set. This option is effective only if AllowCancel is also set or the task dialog has a cancel standard button, so the window caption bar has also a close button. |
| ForceShowInTaskbar | 0x00040000 | Indicates that the task dialog should be shown in the taskbar even if it is shown as a modal dialog (i.e. it has an owner). |