Author Topic: Banner/Caption background color  (Read 2812 times)

scotts

  • Newbie
  • *
  • Posts: 23
Banner/Caption background color
« 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

Deana

  • Wilson WindowWare Tech Support
  • Pundit
  • *****
  • Posts: 1183
  • WinBatch® can do it.
    • WinBatch Tech Support Database
Re: Banner/Caption background color
« Reply #1 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.
Deana F.
Technical Support
Wilson WindowWare Inc.

scotts

  • Newbie
  • *
  • Posts: 23
Re: Banner/Caption background color
« Reply #2 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

Deana

  • Wilson WindowWare Tech Support
  • Pundit
  • *****
  • Posts: 1183
  • WinBatch® can do it.
    • WinBatch Tech Support Database
Re: Banner/Caption background color
« Reply #3 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.
Deana F.
Technical Support
Wilson WindowWare Inc.

scotts

  • Newbie
  • *
  • Posts: 23
Re: Banner/Caption background color
« Reply #4 on: January 27, 2014, 10:42:27 am »
Ahh, that makes since. Thanks again