Aparna
April 6th, 1999, 04:40 AM
Hi,
I've created a SDI application. I've derived the CView from CRichEditView class. I've created a menu item, click on that should tell me the cursor position on the client area. I've used GetCursorPos() function. Also i've converted the coordinated to client coordinates by the function ScreenToClient().
I get a -ve value for the ' y ' coordinate. Can you please tell me how do i get the cursor position, as the +ve coordinates, for each line.
Thanks,
Aparna.
I've created a SDI application. I've derived the CView from CRichEditView class. I've created a menu item, click on that should tell me the cursor position on the client area. I've used GetCursorPos() function. Also i've converted the coordinated to client coordinates by the function ScreenToClient().
I get a -ve value for the ' y ' coordinate. Can you please tell me how do i get the cursor position, as the +ve coordinates, for each line.
Thanks,
Aparna.