i also triedCode:case WM_LBUTTONDOWN: //MEMORY if(LOWORD(wParam) == BN_CLICKED && (HWND)lParam == board[x2][y2])
if ((HWND)lParam == board[x2][y2])
but niether works when I click on board[x2][y2] (its a static control)
the wm_lbuttondown is working, i checked with a messagebox, but a messagebox won't go inside my if....this should be easy, but im stumpedsorry about the stupid question
![]()




sorry about the stupid question
Reply With Quote