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.