change window color without panel

BlitzMax Forums/BlitzMax GUI Programming/change window color without panel

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

Well i was goofing around trying to skin my textfield using this command.. No luck yet.. but it does work on the window itself.
[code]
Global windowt:TGadget = CreateWindow("My win",GadgetWidth(Desktop())-240,0,240,GadgetHeight(Desktop()),Desktop(),1)
hWnd = QueryGadget(windowt,1)
hBrush = CreateSolidBrush( 0 )
SetClassLongA(hWnd, -10, hBrush)
[\code]