catch WM_MOUSEMOVE, check the buttons and if it press - paint the lasso
Other way. catch WM_LBUTTONDOWN and save the state. In WM_MOUSEMOVE check the state and if it true - paint the lasso.
On WM_LBUTTONUP - set state to false.
alexey_1979
| Sat, 10 Nov 2007 08:38:00 GMT |