|
-
June 21st, 2012, 08:58 PM
#2
Re: MOVEMOUSE event!
You are painting on the child window (i.e., the static window) from the WM_PAINT of the parent. That's usually poor practice; the child window should do all of its own painting, in response to WM_PAINT messages sent to the child.
In addition, you are calling BeginPaint and EndPaint twice. They should be called only once in any one WM_PAINT procedure.
Mike
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|