FontDialog.runDialog

Overview | Methods | This Package | All Packages

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.