FontDialog.RunDialog(IntPtr) 方法

定義

指定檔案對話方塊。

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

參數

hWndOwner
IntPtr

nativeint

通用對話方塊之主控視窗 (Owner Window) 的視窗控制代碼 (Window Handle)。

傳回

Boolean

如果對話方塊執行成功,則為 true;否則為 false

備註

RunDialog 字型對話方塊的使用者呼叫 方法時,會叫 ShowDialog 用 方法。

適用於