IonicWind Software

IWBasic => GUI Central => Topic started by: billhsln on May 12, 2009, 08:09:51 PM

Title: Having color in a Dialog box
Post by: billhsln on May 12, 2009, 08:09:51 PM
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
Title: Re: Having color in a Dialog box
Post by: LarryMc on May 12, 2009, 09:01:02 PM
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
Title: Re: Having color in a Dialog box
Post by: LarryMc on May 12, 2009, 09:10:50 PM
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
Title: Re: Having color in a Dialog box
Post by: Bruce Peaslee on May 13, 2009, 11:47:50 AM
I think this is what you want.

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

It's in tha Aurora section but should still work.
Title: Re: Having color in a Dialog box
Post by: billhsln on May 15, 2009, 03:17:40 PM
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