CommonItemDialog.RunDialog(IntPtr) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.