Microsoft SDK for Java

CommonDialog.runDialog

Called by the showDialog method to implement a specific common dialog box.

Syntax

protected abstract boolean runDialog( int hwndOwner, int hookProcPtr )

Parameters

hwndOwner

An integer that represents the window handle of the owner window for the common dialog box.

hookProcPtr

An integer that represents the address of a common dialog box hook that will invoke the hookProc method.

Remarks

This method is invoked when the user of a common dialog box calls the showDialog method. When overriding this method, call super.getCreateParams. An implementation of the runDialog method should store the hwndOwner and hookProcPtr parameters in the common dialog box structure's hwndOwner and lpfnHook fields.

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