Rediger

Del via


CommonItemDialog.RunDialog(IntPtr) Method

Definition

Performs initialization work in preparation to show a file open, file save, or folder open dialog box.

protected:
 override bool RunDialog(IntPtr hwndOwner);
protected override bool RunDialog (IntPtr hwndOwner);
override this.RunDialog : nativeint -> bool
Protected Overrides Function RunDialog (hwndOwner As IntPtr) As Boolean

Parameters

hwndOwner
IntPtr

nativeint

Handle to the window that owns the dialog box.

Returns

true if the dialog was successfully run; otherwise, false.

Remarks

The dialog that is eventually shown is assigned an owner window, which is specified by the hwndOwner parameter.

Applies to