1234
if(GetAsyncKeyState(VK_LBUTTON) & 0x8000) { //left mouse button pressed }
if(GetAsyncKeyState(VK_LBUTTON)) { //left mouse button pressed }