GetCursorPos retrieves the position of the cursor relative to the screen, but I can't figure out how to get the coordinates relative to the window. Any ideas?
- SirCrono6
GetCursorPos retrieves the position of the cursor relative to the screen, but I can't figure out how to get the coordinates relative to the window. Any ideas?
- SirCrono6
From C to shining C++!
Great graphics, sounds, algorithms, AI, pathfinding, visual effects, cutscenes, etc., etc. do NOT make a good game.
- Bubba
IDE and Compiler - Code::Blocks with MinGW
Operating System - Windows XP Professional x64 Edition
WindowFromPoint() / ScreenToClient()