Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
~535 People Reached
Favorite Forums
Favorite Tags
c++ x 2
Member Avatar for Quendy

Here is my code, I want to get the coordinate of the mouse position: [code=cplusplus] #include <iostream> #include <string> //#include "WinDef.h" //#include "stdafx.h" #include <windowsx.h> #include <windows.h> #include <atltypes.h> using namespace std; int main() { DWORD pos = GetMessagePos(); CPoint pt(LOWORD(pos), HIWORD(pos)); ScreenToClient(&pt); return 0; } [/code] But I could …

Member Avatar for vmanes
0
535