Jose,
In your CW_COMMCTRL_GroupBox.bas demo I always get a gray background regardless of the stock BRUSH in pWindow.Brush = GetStockObject(WHITE_BRUSH).
James
Putting pWindow.Brush = GetStockObject(WHITE_BRUSH) after
pWindow.Create(NULL, "GroupBox example", @WndProc)
solved the problem.
James