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
Bekerjasama dengan kami di GitHub
Sumber untuk kandungan ini boleh didapati di GitHub, di mana anda juga boleh mencipta dan menyemak isu dan menarik permintaan. Untuk maklumat lanjut, lihat panduan penyumbang kami.