Hi , I am building an application similar to notepad , presently i am stuck with 'Goto'
in which you get the line number where the cursor is currently located. I have tried 'GetCursorPos' which returns x and y but every single time the value of x and y changes , can anyone tell me the correct way of acquiring the line number in the edit control

Any help would be appreciated
Abhishek T