WM_PENEVENT

Sent to an application after StartPenInput1AOCU6 has initiated a pen collection.

Parameters

wParam

Submessage identifier as described in the following table. Each submessage is documented separately.

Constant

Description

PE_BEGINDATA

Initialization message to all targets.

PE_BEGININPUT

Begin default input.

PE_BUFFERWARNING

The input queue is getting full. The application should call GetPenInput1AOBY7.

PE_ENDDATA

Termination message to all targets.

PE_RESULT

Recognition result message to all targets.

PE_ENDINPUT

Input termination message to window.

PE_GETINKINGINFO

Get inking information.

PE_GETPCMINFO

Get input collection information.

PE_MOREDATA

Target gets more data.

PE_PENMOVE

The pen moved, placing more packets into the input queue without a tip transition. This mes-sage is coalesced with other PE_PENMOVE messages, so the Windows queue has only a single such message waiting.

PE_PENDOWN

The pen tip went down.

PE_PENUP

The pen tip went up.

PE_SETTARGETS

Set TARGINFO232HBIC target data structure.

PE_TERMINATED

Pen input terminated. The HPCM handle for the current collection has become invalid.

PE_TERMINATING

Pen input is about to terminate. The application must retrieve any remaining points immediately.

 

lParam

Depends on wParam. In most cases, this is extra information encapsulating a reference to the event and the HPCM that generated it. These are retrieved using the EventRefFromWpLp and HpcmFromWpLp macros.

Comments

This message is not sent if polling is used that is, if the dwPcm member of the PCMINFO1AOCX8 structure contains the PCM_DOPOLLING flag.

See Also

GetPenInput, StartPenInput, TARGINFO