PS there should not be any drawing done in WM_PAINT.
WM_PAINT should be a single BitBlt() from your buffer (or memory DC) to the DC in the PAINTSTRUCT (from BeginPaint()) and only the rect in the...
Type: Posts; User: novacain
PS there should not be any drawing done in WM_PAINT.
WM_PAINT should be a single BitBlt() from your buffer (or memory DC) to the DC in the PAINTSTRUCT (from BeginPaint()) and only the rect in the...
When doing things like this I custom draw the image and record the rectange/region that can be clicked. (ie as you draw the image for a node, with FillRect() or BitBlt()etc, record the position as...