IE_SETMODE

Sets the control to a particular mode.

Parameters

wParam

Specifies the mode to set the control to, as follows:

Constant

Description

IEMODE_READY

The control is ready for inking, moving strokes, tapping, and so forth.

IEMODE_ERASE

The control is set to erasing mode.

IEMODE_LASSO

The control is set to lasso selection mode.

 

lParam

Not used; must be 0.

Return Value

Returns one of the following values:

Constant

Description

IER_OK

Success.

IER_PARAMERR

wParam or lParam is invalid.

IER_PENDATA

Attempted to set erase or lasso mode with a null HPENDATA handle in the control.

 

See Also

IE_GETMODE