Hello,

This may not be the best place for this type of discussion but still if anybody knows then help me!
I am just trying to make a basic Paint like application. The problem is that when i draw rectangle selecting the rect tool from the toolbar it draws perfectly, but as i minimised and then maximise or just resize it the content of the window disappears! as the WM_PAINT message is received.

I tried to use one approach i.e consider the whole client area as a bitmap but i need some standard approach to this approach. Please help me
Thanks in advance!

Best Regards,
Salman.