in multiline editor control,i wanna know which line i clicked,
how should i do? ONLY sdk,pls.
This is a discussion on How to get line index after clicked editor control? within the Windows Programming forums, part of the Platform Specific Boards category; in multiline editor control,i wanna know which line i clicked, how should i do? ONLY sdk,pls....
in multiline editor control,i wanna know which line i clicked,
how should i do? ONLY sdk,pls.
Check out this MSDN page on Edit Controls. It shows a bunch of messages you can send to the control to retrieve infromation about it. I think you may be interested in EM_CHARFROMPOS Message, which gets information about the character closest to a specified point in the client area of an edit control.