Sample Results (4)

The following screenshots shows the sample.c results when the BGCOLOR attribute of the dialog children is changed, but NOT the dialog. See also the same sample with normal background, changing the dialog BACKGROUND and the dialog BGCOLOR.

In this case, the BGCOLOR attribute affects only the controls. Also notice that the transparent area of the controls are not affected. And notice that on Windows the BGCOLOR is ignored for several controls.

Motif in MWM

GTK in Gnome

Windows Classic

Windows with Visual Styles

Windows Vista