Microsoft SDK for Java

FontDialog.runDialog

Implements running the dialog box.

Syntax

protected boolean runDialog( int hwndOwner, int hookProcPtr )

Parameters

hwndOwner

The handle to the window that owns the dialog box.

hookProcPtr

A pointer to the hook procedure that must be set up for the ChooseFont call.

Return Value

Returns true if the user clicks OK; returns false if the user clicks Cancel.

Remarks

When overriding this method, call super.runDialog.

© 1999 Microsoft Corporation. All rights reserved. Terms of use.