Bonjour,
lResult = SendMessage( // returns LRESULT in lResult (HWND) hWndControl, // handle to destination control (UINT) EM_SETSEL, // message ID (WPARAM) wParam, // = (WPARAM) () wParam; (LPARAM) lParam // = (LPARAM) () lParam; );
wParam Specifies the starting character position of the selection. lParam Specifies the ending character position of the selection.
@+ Arnotic, Admin CS, MVP Visual C++
|