hello
i created a dialog based application and using
Code:
CClientDC dc(this);
CRect r;
GetClientRect(&r);
dc.Rectangle(r);
i draw color to the dialog box. but, my problem is whenever OnPaint() in called, the color will over write all buttons etc. how to make the buttons visible again?