المساعد الشخصي الرقمي

مشاهدة النسخة كاملة : Change the background color



C++ Programming
12-08-2009, 07:40 AM
Hi,
I have developed a SDI application and split it into two parts. One part is simple view and another part is form view, in which i have select a dialog as child.

My problem is, I can't change the background of dialog and some 'static text' controls color.

I have used

SetDialogBkColor(RGB(255, 0, 0), RGB(0, 255, 0));

in app class. But its not working.

Pls hlp.

Thanks in advanced