[Resolved]I don't like the colour Grey
Hi ALL,
I am looking for some help with the following. I sure hope this is the
right place. :-)
I have used the following code to create myself a STATIC control
only the background of the control is in grey. This would not
normally be a problem I know, but I just don’t like the colour grey
and would prefer if the STATIC control's background could be
red. It was also be nice if I could make that font larger so that I
could put my magnifier away. Any help/solutions to these
problems will be gratefully received.
Code:
hwndc = CreateWindowEx(
NULL, /* extended style, not needed */
"STATIC", /* class identifier */
"A CONTROL", /* window title */
WS_CHILD | SS_CENTER, /* parameters */
0, 0, 264, 30, /* initial position, size */
hwnd, /* handle to parent */
NULL, /* handle to menu (none) */
hInstance, /* application instance handle */
NULL ); /* who needs it? */
ShowWindow(hwndc, SW_SHOW);
Thanks in advance,
ISquishWorms
[Resolved]I don't like the colour Grey
Well thanks once more for all your help CornedBee. All of your answers to my questions have been helpful, concise and well thought out. I guess I know who to ask if I have any further questions about programming in windows.
Having already taken up quite a bit of your time I will now end this forum topic so that you can use your time elsewhere as I am sure you are a busy person judging by the number of replies made by yourself on this board. No doubt though I will in the fairly near future have some more questions which I hope you won’t mind looking at.
Cya for now,