CommonDialog.hookProc

Overview | Methods | This Package | All Packages

CommonDialog.hookProc

Defines the common dialog box hook procedure that is overridden to add specific functionality to a common dialog box.

Syntax

protected int hookProc( int hWnd, int msg, int wParam, int lParam )

Parameters

hWnd

The handle to the dialog box window.

msg

The message being received.

wParam

Additional information about the message.

lParam

Additional information about the message.

Return Value

Returns zero if the default dialog box procedure processes the message; returns a nonzero value if the default dialog box procedure ignores the message. 

Remarks

When overriding this method, call super.hookProc.