PlanetSquires Forums

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: CW_COMMCTRL_GroupBox  (Read 897 times)

James Fuller

  • FireFly3 Registered User
  • Senior Member
  • *
  • Posts: 276
  • FF3 User
CW_COMMCTRL_GroupBox
« on: August 25, 2016, 08:27:02 AM »

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
Logged

James Fuller

  • FireFly3 Registered User
  • Senior Member
  • *
  • Posts: 276
  • FF3 User
Re: CW_COMMCTRL_GroupBox
« Reply #1 on: August 25, 2016, 10:46:58 AM »

Putting pWindow.Brush = GetStockObject(WHITE_BRUSH) after
pWindow.Create(NULL, "GroupBox example", @WndProc)
solved the problem.

James
Logged