PDA

View Full Version : C++ Help.



Predat0r03
01-18-2008, 03:33 PM
How do I change the color of my dialog?

fez113
01-18-2008, 03:37 PM
BOOL CMyApp::InitInstance()
{
...
// lets set red background and green text for our dialogs
SetDialogBkColor(RGB(0, 0, 0), RGB(0, 0, 0));
...
}

This should work for you, hopefully.
Mess around with rgb to change the colors.

Predat0r03
01-18-2008, 03:54 PM
I want a black background. And where do I put this code?