IE_GETGESTURE

Retrieves the specifics of a gesture.

Parameters

wParam

Not used; must be 0.

lParam

Not used; must be 0.

Return Value

Returns an HRCRESULT of the gesture if successful; otherwise, returns one of the following:

Constant

Description

IER_PARAMERR

wParam or lParam is invalid.

IER_NOGESTURE

Indicates an attempt to issue IE_GETGESTURE when no gesture was performed.

 

Comments

An application sends IE_GETGESTURE when it receives an IN_GESTURE notifi-cation, to retrieve the specifics of the user s gesture. This message can be sent only during processing of an IN_GESTURE notification. It returns the error code IER_NOGESTURE if it is set at any other time.

If successful, the application receives an HRCRESULT, which can then be used to get information about the gesture specifics. This handle is still owned by the iedit control, however, and the application must neither delete the handle nor modify the data to which it refers.