PE_BEGININPUT

Begins default input processing. Submessage of WM_PENEVENT.

Parameters

wParam

PE_BEGININPUT

lParam

The high-order word is the handle of the window in which the pen first touched down, and the low-order word is the event reference identifier returned from GetMessageExtraInfo.

Return Value

Returns PCMR_OK if successful; otherwise, it returns one of the following values:

Constant
Description
PCMR_ALREADYCOLLECTING
StartPenInput has already been called for this session.
PCMR_APPTERMINATED
The application terminated input.
PCMR_ERROR
Parameter or unspecified error.
PCMR_INVALID_PACKETID
A packet identifier is invalid.
PCMR_SELECT
Press-and-hold action was detected. Collection is not started.
PCMR_TAP
A tap was detected. Collection is not started.

Comments

A control can initiate default pen-input processing by sending this message to its parent. If the parent allows the message to be processed by passing it to DefWindowProc, default pen-input behavior begins. The DoDefaultPenInput function uses this technique.

For further information about default processing, refer to Chapter 2, "Starting Out with System Defaults."

See Also

DoDefaultPenInput
, WM_PENEVENT

Software for developers
Delphi Components
.Net Components
Software for Android Developers
More information resources
MegaDetailed.Net
Unix Manual Pages
Delphi Examples
Databases for Amazon shops developers
Amazon Categories Database
Browse Nodes Database