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
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.