|
-
Jul 16th, 2001, 07:44 AM
#1
Thread Starter
New Member
cursor position with respect to window client area
Hi,
I was wondering how I might get the mouse cursor position with respect to the upper left corner of the window client area (not the whole window). More specifically, I want the dimensions and position of the client area's device context. I was originally thinking of using GetWindowRect and GetCursorPosition, then subtracting the title bar height. Then I thought about those ridiculously large title bars, so that shoots a hole in my plan. Can anyone help me out?
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
|