Share via


EM_SETPENMODE

4/8/2010

The EM_SETPENMODE message sets the new pen mode, pen, select, or space, of the RichInk control.

Syntax

EM_SETPENMODE
  wParam = (WPARAM) (UINT) penMode; 
    lParam = (LPARAM) 0;

Parameters

  • penMode
    Contains pen mode (MODE_PEN, MODE_SELECT, or MODE_SPACE).
  • lParam
    Reserved; set to 0.

Return Value

None.

Remarks

#define EM_SETPENMODE (WM_USER + 329)

Requirements

Header richink.h
Library richink.lib
Windows Embedded CE Windows CE 3.0 and later
Windows Mobile Pocket PC 2000 and later

See Also

Concepts

RichInk Control Messages