Important: |
---|
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist. |
4/8/2010
The EM_GETPENMODE message gets the new pen mode, pen, select, or space, of the RichInk control.
Syntax
EM_GETPENMODE wParam = (WPARAM) 0; lParam = (LPARAM) 0; |
Parameters
- wParam
-
Reserved; set to 0.
- lParam
-
Reserved; set to 0.
Return Value
Returns the value of penMode, which contains the pen mode (one of the following values MODE_PEN, MODE_SELECT, or MODE_SPACE).
Flag | Information |
---|---|
MODE_PEN |
User can draw. |
MODE_SELECT |
User can select text. |
MODE_SPACE |
User can collapse and expand white space. |
No error conditions are returned.
Remarks
#define EM_GETPENMODE (WM_USER + 328)
Requirements
Header | richink.h |
Library | richink.lib |
Windows Embedded CE | Windows CE 3.0 and later |
Windows Mobile | Pocket PC 2000 and later |