Ask Your Question

Revision history [back]

actually ,i have a code ,very like what yours. image description

from my blog https://www.cnblogs.com/jsxyhelu/p/6336429.html

the idea is: when we use MFC,in the on_draw() function,we can always draw sth at the image we will show to user.why not draw the rect in on_draw()? may it help you .