![]() |
#16 |
Участник
|
Цитата:
X++: int res; int startSel, endSel; ; res = WinAPI::sendMessageEx(StringEdit.hWnd(), 0x00B0, 0, 0); startSel = res & 0xffff;//LOW WORD endSel = res >> 16;//HIGH WORD Цитата:
The EM_GETSEL message retrieves the starting and ending character positions of the current selection in an edit control. You can send this message to either an edit control or a rich edit control.
__________________
AxAssist 2012 - Productivity Tool for Dynamics AX 2012/2009/4.0/3.0 |
|