Relationship between Hardware Cursor and Window..

BlitzMax Forums/BlitzMax Programming/Relationship between Hardware Cursor and Window..

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

.. Cursor.

Is there a direct way to know what the Windows hardware cursor position ( SetCursorPos,GetCursorPos ) *SHOULD* be ( not what it actually is ) from the mouse position within a window. In theory, it should be the position of the window, plus the position *WITHIN* the window, plus whatever the frame of the window takes, right? But is there a 100% way to calculate that?