語言

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

擁有者視窗的視窗柄,用於共用對話框。

傳回

true如果對話框成功執行;否則,。 false

備註

RunDialog當字型對話框使用者呼叫該ShowDialog方法時,會被呼叫此方法。

適用於