CallDefaultProc method


Available for all objects.

Syntax

Invoke CallDefaultProc, hWnd, uMsg, wParam, lParam

Function

Calls the default window procedure for an object (window or control).

Parameters

hWnd

Handle to the object.

uMsg

Message to send.

wParam

First parameter of the message.

lParam

Second parameter of the message.

Return value

Eax returns a value which depends on the message.


REMARKS: You can call this method to send a message to an object, or when you like a message to be processed by the Windows default procedure.

IMPORTANT: In order to avoid a message to be processed more than once, always return TRUE after calling this method.