I am working on a level creating application and am having problems with my Text Static controls. The backround color of the static is a bit lighter then the form color. Is there a way to change the back color of the static control to match the form color.
Static control:
//Name Static
hNameLbl = CreateWindowEx (0,"Static","Name:",WS_CHILD|WS_VISIBLE|SS_SIMPLE,
75,55,50,20,hwnd,NULL,GetModuleHandle(NULL),NULL);
WinClass:
wincl.hInstance = hThisInstance;
wincl.lpszClassName = APPNAME;
wincl.lpfnWndProc = WindowProcedure;
wincl.style = CS_DBLCLKS;
wincl.cbSize = sizeof (WNDCLASSEX);
wincl.hIcon = LoadIcon (NULL, IDI_APPLICATION);
wincl.hIconSm = LoadIcon (NULL, IDI_APPLICATION);
wincl.hCursor = LoadCursor (NULL, IDC_ARROW);
wincl.lpszMenuName = NULL;
wincl.cbClsExtra = 0;
wincl.cbWndExtra = 0;
wincl.hbrBackground = (HBRUSH)COLOR_MENU+3;