Platforms to show: All Mac Windows Linux Cross-Platform

TaskDialogMBS class

Type Topic Plugin Version macOS Windows Linux iOS Targets
class Windows MBS Win Plugin 16.2 ❌ No ✅ Yes ❌ No ❌ No Desktop, Console & Web
The class for a dialog in Windows.

This class function creates, displays, and operates a task dialog. The task dialog contains application-defined icons, messages, title, verification check box, command links, push buttons, and radio buttons.

Requires Windows Vista or newer.

Common Buttons

Constant Value Description
kCommonButtonCancel 8 The task dialog contains the push button: Cancel. If this button is specified, the task dialog will respond to typical cancel actions (Alt-F4 and Escape).
kCommonButtonClose 32 The task dialog contains the push button: Close.
kCommonButtonNo 4 The task dialog contains the push button: No.
kCommonButtonOK 1 The task dialog contains the push button: OK.
Example
kCommonButtonRetry 16 The task dialog contains the push button: Retry.
kCommonButtonYes 2 The task dialog contains the push button: Yes.

Icon Constants

Constant Value Description
kIconApplication 5 An application icon appears in the task dialog.
kIconError 2 A stop-sign icon appears in the task dialog.
kIconInformation 3 An icon consisting of a lowercase letter i in a circle appears in the task dialog.
kIconNone 0 No icon.
kIconShield 4 A shield icon appears in the task dialog.
kIconWarning 1 An exclamation-point icon appears in the task dialog.

Standard Button IDs

Constant Value Description
kIDAbort 3 Abort button
kIDCancel 2 Cancel button
kIDIgnore 5 Ignore button
kIDNo 7 No button
kIDOK 1 OK Button
kIDRetry 4 Retry Button
kIDYes 6 Yes Button

Progressbar State

Constant Value Description
kProgressbarError 3 Error state.
kProgressbarMarquee 8 Marquee state
kProgressbarNone 0 No progress bar.
kProgressbarNormal 1 Normal progressbar
kProgressbarPause 2 Paused progress bar

This class has no sub classes.

Some examples using this class:

Blog Entries

Release notes


The items on this page are in the following plugins: MBS Win Plugin.


TaskDialogButtonMBS   -   TCPSocket


The biggest plugin in space...