IE_GETPDEVENT

Retrieves the pointing-device event that triggered the IN_PDEVENT notification. This can be from a mouse, pen, or other device.

Parameters

wParam

Not used; must be 0.

lParam

Address of a PDEVENT1AOCX9 structure that is filled by the control when it receives this message.

Return Value

Returns one of the following:

Constant

Description

IER_OK

Success.

IER_PARAMERR

wParam or lParam is invalid.

IER_NOPDEVENT

No event occurred.

 

Comments

This message can succeed only during the processing of an IN_PDEVENT notification. At all other times its use is invalid. The caller must initialize the cbSize member of the PDEVENT1AOCX9 structure to sizeof( PDEVENT ) before sending this message.

The application can cause the event to be discarded by returning TRUE to the IN_PDEVENT notification.

See Also

IN_PDEVENT,