I'm trying to find out wether the control button while a mouse click is down, I'll show you one way I tried. I'm using Standard API
I've tried switch statements, google, etc.Code:case WM_LBUTTONDOWN: if(wParam == MK_CONTROL) { hdc = GetDC(hwnd); TextOut(hdc, 30, 30, "Mouse with Control", strlen("Mouse with Control")); ReleaseDC(hwnd,hdc); } break;
I'd appreciate any help, Thanks.