C# Class SystemEx.Windows.Forms.TaskDialog

A Task Dialog. This is like a MessageBox but with many more features. TaskDialog requires Windows Longhorn or later.
Datei anzeigen Open project: pvginkel/SystemEx Class Usage Examples

Private Properties

Property Type Description
PrivateCallback int
PrivateShow int
SetFlag void

Public Methods

Method Description
Reset ( ) : void

Resets the Task Dialog to the state when first constructed, all properties set to their default value.

Show ( ) : int

Creates, displays, and operates a task dialog. The task dialog contains application-defined messages, title, verification check box, command links and push buttons, plus any combination of predefined icons and push buttons as specified on the other members of the class before calling Show.

Show ( IWin32Window owner ) : int

Creates, displays, and operates a task dialog. The task dialog contains application-defined messages, title, verification check box, command links and push buttons, plus any combination of predefined icons and push buttons as specified on the other members of the class before calling Show.

Show ( IWin32Window owner, bool &verificationFlagChecked ) : int

Creates, displays, and operates a task dialog. The task dialog contains application-defined messages, title, verification check box, command links and push buttons, plus any combination of predefined icons and push buttons as specified on the other members of the class before calling Show.

Show ( IWin32Window owner, bool &verificationFlagChecked, int &radioButtonResult ) : int

Creates, displays, and operates a task dialog. The task dialog contains application-defined messages, title, verification check box, command links and push buttons, plus any combination of predefined icons and push buttons as specified on the other members of the class before calling Show.

Show ( IntPtr hwndOwner ) : int

Creates, displays, and operates a task dialog. The task dialog contains application-defined messages, title, verification check box, command links and push buttons, plus any combination of predefined icons and push buttons as specified on the other members of the class before calling Show.

Show ( IntPtr hwndOwner, bool &verificationFlagChecked ) : int

Creates, displays, and operates a task dialog. The task dialog contains application-defined messages, title, verification check box, command links and push buttons, plus any combination of predefined icons and push buttons as specified on the other members of the class before calling Show.

Show ( IntPtr hwndOwner, bool &verificationFlagChecked, int &radioButtonResult ) : int

Creates, displays, and operates a task dialog. The task dialog contains application-defined messages, title, verification check box, command links and push buttons, plus any combination of predefined icons and push buttons as specified on the other members of the class before calling Show.

TaskDialog ( ) : System

Creates a default Task Dialog.

Private Methods

Method Description
PrivateCallback ( [ hwnd, [ msg, [ wparam, [ lparam, [ refData ) : int

The callback from the native Task Dialog. This prepares the friendlier arguments and calls the simplier callback.

PrivateShow ( IntPtr hwndOwner, bool &verificationFlagChecked, int &radioButtonResult ) : int

Creates, displays, and operates a task dialog. The task dialog contains application-defined messages, title, verification check box, command links and push buttons, plus any combination of predefined icons and push buttons as specified on the other members of the class before calling Show.

SetFlag ( System.Win32 flag, bool value ) : void

Helper function to set or clear a bit in the flags field.

Method Details

Reset() public method

Resets the Task Dialog to the state when first constructed, all properties set to their default value.
public Reset ( ) : void
return void

Show() public method

Creates, displays, and operates a task dialog. The task dialog contains application-defined messages, title, verification check box, command links and push buttons, plus any combination of predefined icons and push buttons as specified on the other members of the class before calling Show.
public Show ( ) : int
return int

Show() public method

Creates, displays, and operates a task dialog. The task dialog contains application-defined messages, title, verification check box, command links and push buttons, plus any combination of predefined icons and push buttons as specified on the other members of the class before calling Show.
public Show ( IWin32Window owner ) : int
owner IWin32Window Owner window the task Dialog will modal to.
return int

Show() public method

Creates, displays, and operates a task dialog. The task dialog contains application-defined messages, title, verification check box, command links and push buttons, plus any combination of predefined icons and push buttons as specified on the other members of the class before calling Show.
public Show ( IWin32Window owner, bool &verificationFlagChecked ) : int
owner IWin32Window Owner window the task Dialog will modal to.
verificationFlagChecked bool Returns true if the verification checkbox was checked when the dialog /// was dismissed.
return int

Show() public method

Creates, displays, and operates a task dialog. The task dialog contains application-defined messages, title, verification check box, command links and push buttons, plus any combination of predefined icons and push buttons as specified on the other members of the class before calling Show.
public Show ( IWin32Window owner, bool &verificationFlagChecked, int &radioButtonResult ) : int
owner IWin32Window Owner window the task Dialog will modal to.
verificationFlagChecked bool Returns true if the verification checkbox was checked when the dialog /// was dismissed.
radioButtonResult int The radio botton selected by the user.
return int

Show() public method

Creates, displays, and operates a task dialog. The task dialog contains application-defined messages, title, verification check box, command links and push buttons, plus any combination of predefined icons and push buttons as specified on the other members of the class before calling Show.
public Show ( IntPtr hwndOwner ) : int
hwndOwner System.IntPtr Owner window the task Dialog will modal to.
return int

Show() public method

Creates, displays, and operates a task dialog. The task dialog contains application-defined messages, title, verification check box, command links and push buttons, plus any combination of predefined icons and push buttons as specified on the other members of the class before calling Show.
public Show ( IntPtr hwndOwner, bool &verificationFlagChecked ) : int
hwndOwner System.IntPtr Owner window the task Dialog will modal to.
verificationFlagChecked bool Returns true if the verification checkbox was checked when the dialog /// was dismissed.
return int

Show() public method

Creates, displays, and operates a task dialog. The task dialog contains application-defined messages, title, verification check box, command links and push buttons, plus any combination of predefined icons and push buttons as specified on the other members of the class before calling Show.
public Show ( IntPtr hwndOwner, bool &verificationFlagChecked, int &radioButtonResult ) : int
hwndOwner System.IntPtr Owner window the task Dialog will modal to.
verificationFlagChecked bool Returns true if the verification checkbox was checked when the dialog /// was dismissed.
radioButtonResult int The radio botton selected by the user.
return int

TaskDialog() public method

Creates a default Task Dialog.
public TaskDialog ( ) : System
return System