I'm trying to trap the WM_LBUTTONDOWN event in the MainProc function of my application. According to MSDN, the lParam$ variable is supposed to house the X value of the mouse in the LOWORD and the Y value in the HIWORD. However, when I do:
x$ actually contains the Y value of the mouse, and y$ is always 0. This used to work just fine. This is on the latest build of PPL, and I am using the GameAPI.
- Code:
x$ = LOWORD(lParam$);
y$ = HIWORD(lParam$);
x$ actually contains the Y value of the mouse, and y$ is always 0. This used to work just fine. This is on the latest build of PPL, and I am using the GameAPI.