WinAPI Questions...

1. Does GetCursorPos() give the cursor's position relative to the screen or relative to the window?

2. How do I change the window's title after it has been created?

First search result in Google for "GetCursorPos": http://msdn.microsoft.com/en-us/library/ms648390%28VS.85%29.aspx

"Retrieves the cursor's position, in screen coordinates."

Right there, under the page's title. :-S

For #2: SetWindowText().

http://msdn.microsoft.com/en-us/library/ms633546%28VS.85%29.aspx
Last edited on
Topic archived. No new replies allowed.