May 06, 2024, 04:40:44 AM

News:

IonicWind Snippit Manager 2.xx Released!  Install it on a memory stick and take it with you!  With or without IWBasic!


Having color in a Dialog box

Started by billhsln, May 12, 2009, 08:09:51 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

billhsln

I know how to change the color of items in a dialog box, but how do I set the background to black of the main dialog or of a Group Box within the Dialog.  I would prefer to have a black background with a light blue (cyan) foreground for everything within the Dialog.  All I am looking for is the commands that will allow me to do that.

Thanks,
Bill
When all else fails, get a bigger hammer.

LarryMc

if I remember correctly the only way you can "change" the color of a dialog is to open a childwindow(with no caption) the size of the dialog's client area and set it's color.

Larry
LarryMc
Larry McCaughn :)
Author of IWB+, Custom Button Designer library, Custom Chart Designer library, Snippet Manager, IWGrid control library, LM_Image control library

LarryMc

I almost remembered correctly.
It's not a window that you have to use but a static control the size of the dialog.

Searching the forum the issue was covered here with an example.

http://www.ionicwind.com/forums/index.php/topic,1334.msg12563.html#msg12563

Larry
LarryMc
Larry McCaughn :)
Author of IWB+, Custom Button Designer library, Custom Chart Designer library, Snippet Manager, IWGrid control library, LM_Image control library

Bruce Peaslee

I think this is what you want.

http://www.ionicwind.com/forums/index.php/topic,353.0.html

It's in tha Aurora section but should still work.
Bruce Peaslee
"Born too loose."
iTired (There's a nap for that.)
Well, I headed for Las Vegas
Only made it out to Needles

billhsln

Thanks, Larry and peaslee.  Doing the Edit control over the top works exactly as what I am looking for.

Now I can continue on.

Bill
When all else fails, get a bigger hammer.