FontDialog.RunDialog Method (IntPtr)


The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

This API supports the product infrastructure and is not intended to be used directly from your code.

Specifies a file dialog box.

Namespace:   System.Windows.Forms
Assembly:  System.Windows.Forms (in System.Windows.Forms.dll)

protected override bool RunDialog(
	IntPtr hWndOwner


Type: System.IntPtr

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

Return Value

Type: System.Boolean

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

The RunDialog method is invoked when the user of a font dialog box calls the ShowDialog method.

.NET Framework
Available since 1.1
Return to top