WinBatch® Technical Support Forum

Archived Boards => WinBatch Dynamic Dialogs => Topic started by: scotts on January 27, 2014, 09:46:16 AM

Title: Banner/Caption background color
Post by: scotts on January 27, 2014, 09:46:16 AM
Hi,

can I change the banner background color on a dynamic dialog?

in the attached, I would like to change the blue banner background
Title: Re: Banner/Caption background color
Post by: Deana on January 27, 2014, 10:00:03 AM
Background colors of WIL dialogs and dialog controls are specified in the dialog definition. In a callback you can use DialogProcOptions option 1001 to change the dialog's background bitmap or color.
Title: Re: Banner/Caption background color
Post by: scotts on January 27, 2014, 10:12:34 AM
I had already tried that. I thought the 1001 olnly changes the actual background of the 'body' of the dialog. I want to change the 'banner/header'. the attached example shows the banner in light blue, I would like to know if I can change that..

Thanks for your help
Title: Re: Banner/Caption background color
Post by: Deana on January 27, 2014, 10:23:48 AM
The term "banner" threw me. I think you are asking how to change the color of the "title bar". That title bar is defined by the system. Its the same title bar you see around all your windows. No programmatic way to change that for a single dialog window.
Title: Re: Banner/Caption background color
Post by: scotts on January 27, 2014, 10:42:27 AM
Ahh, that makes since. Thanks again