Hi, trying to simply plot a point when the user clicks my window, but the WM_LBUTTONDOWN
even seems to be triggered no matter what input i give the program...letter keys, tab, pgup, spacebar, Everything! I don't understand what is going on =/
Im catching the even like this in the WndProc of a standard Win32 app:
switch(Msg)
{
case WM_LBUTTONDOWN:
MessageBox(hWnd,"LBUTTONDOWN"," ",0);
InvalidateRect(hWnd, NULL, TRUE);
UpdateWindow(hWnd);
break;
}
can anyone help me refine this somehow? I'm looking for an On Mouse Down event, that will provide X and Y of the mouse.
Thanks!:)