The buttonbar defaults to a dark-gray color. You either have to use the 3D clause (which has a light-gray color) or set the color of the buttonbar to light-gray.
#INCLUDE "WCOLORS.CH"
oBar:nClrPane := getSysColor( COLOR_BTNFACE)Antonio, it would really better if ::nClrPane always defaulted to COLOR_BTNFACE.
This is the code now:
::nClrPane = If( l3D, GetSysColor( COLOR_BTNFACE ), CLR_GRAY )I suggest this:
::nClrPane = GetSysColor( COLOR_BTNFACE )Of course, there would be some programmers that will not like this, but light gray is really the standard toolbar color for Windows apps.
James
