thread116-23314
I think more context is needed for this tip. If you're returning a brush from an override of CDialog::OnCtlColor(), you don't want the CBrush object destroyed, do you? In my app, I create and destroy the CBrush objects along with the dialog box. In OnCtlColor(), I found that I...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.