System.Windows.Forms.FontDialog.RunDialog Method

Specifies a file dialog box.

Syntax

protected override bool RunDialog (IntPtr hWndOwner)

Parameters

hWndOwner
The window handle of the owner window for the common dialog box.

Returns

true if the dialog box was successfully run; otherwise, false.

Remarks

The FontDialog.RunDialog(IntPtr) method is invoked when the user of a font dialog box calls the CommonDialog.ShowDialog method.

Requirements

Namespace: System.Windows.Forms
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0