Originally Posted by
npuleio
Hello again...
I've read about drawing stuffs on the device context so when I have to draw something on a control inside a CPropertyPage then I have to use OnCtlColor. BUT when I want to draw something, or to change background color of the canvas of CPropertyPage itself, how I can do?... If I call:
CDC* pDC = new CDC();
pDC->SetTextColor(RGB(255,0,0));
it doesn't change the background at all....ah I put this code inside BN_CLICKED event of a checkbox I put in this canvas...
Any suggest?...
Thanks!!
Luigi