|
-
April 6th, 1999, 04:40 AM
#1
How to get the cursor position?
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.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|