cplusplus
.com
TUTORIALS
REFERENCE
ARTICLES
FORUM
C++
Tutorials
Reference
Articles
Forum
Forum
Beginners
Windows Programming
UNIX/Linux Programming
General C++ Programming
Lounge
Jobs
Forum
Windows Programming
WinAPI Questions...
WinAPI Questions...
Aug 19, 2009 at 5:43pm UTC
Tom Backton
(119)
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?
Aug 19, 2009 at 5:49pm UTC
webJose
(2948)
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
Aug 19, 2009 at 5:50pm UTC
Topic archived. No new replies allowed.