The EM_HIDESELECTION message hides or shows the selection in a rich edit control.
Syntax
To send this message, call the
SendMessage
function as follows.
|
lResult = SendMessage(
| // returns LRESULT in lResult
|
| (HWND) hWndControl,
| // handle to destination control
|
| (UINT) EM_HIDESELECTION,
| // message ID
|
| (WPARAM) wParam,
| // = (WPARAM) () wParam; |
| (LPARAM) lParam
| // = (LPARAM) () lParam; |
|
);
| |
Parameters
- wParam
-
Value specifying whether to hide or show the selection. If this parameter is zero, the selection is shown. Otherwise, the selection is hidden.
- lParam
-
This parameter is not used; it must be zero.
Return Value
This message does not return a value.
Message Information
| Header | Declared in Richedit.h |
|---|
| Minimum operating systems |
Windows 95, Windows NT 4.0 |
|---|