WindowColor is used as the background for the GUI window itself. ControlColor is applied to all present and future controls in the window (though some types of controls do not support a custom color). Although ControlColor is initially obeyed by ListViews and TreeViews, subsequent changes to ControlColor do not affect them. In such cases, use GuiControl +BackgroundFF9977, MyListView to explicitly change the color.
Leave either parameter blank to retain the current color. Otherwise, specify one of the 16 primary HTML color names or a 6-digit RGB color value (the 0x prefix is optional), or specify the word Default to return either to its default color. Example values: Silver, FFFFAA, 0xFFFFAA, Default.
So why am I seeing a gray background and black text in this example:
Code: Select all
col := 762e1c ; test color via an RGB color mixer Gui, Test:New, +AlwaysOnTop -caption border Gui, Color, %col%, white Gui, margin, 15, 15 Gui, font, s30 bold Gui, add, text, w300 center, This is a test Gui, show