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
Ranked #72.7K
I'm trying to write a simple "MSPaintish" program, but I can't handle this one issue. [CODE]case WM_LBUTTONDOWN:{ button = true; //save the start cords and invoke WM_MOUSEMOVE x1=LOWORD(lParam); y1=HIWORD(lParam); SendMessage(hwnd, WM_MOUSEMOVE, wParam, lParam); break; } case WM_LBUTTONUP:{ button=false; break; } case WM_MOUSEMOVE:{ if(button){ HDC hdc=GetDC(hwnd); HDC hdcmem = CreateCompatibleDC(hdc); HBITMAP … |