I would like to change bitmap after click on it by left mouse button.
How should I do it ?
I wrote such a code:
case WM_LBUTTONDOWN:
if ((HBITMAP)lParam == bitmapa)
{
turn = true;
}
break;
Where "bitmapa" is handle for bitmap and "turn" is variable.
If this variable is true , program should paint other bitmap in WM_PAINT.
It doesn't happen.