Possible to create a new window class for gadgets?

BlitzPlus Forums/BlitzPlus Programming/Possible to create a new window class for gadgets?

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.

Hmmm...it seems an additional style is needed...otherwise the OpenGL viewport gets painted over when another window crosses over it...isn't there some kind of a "Save Bits" style you can use? I can't find any win32 constants like that...

...I tried this, to no effect. Hwnd is the panel:
style=GetClassLong(hwnd,GCL_STYLE)
SetClassLong hwnd,GCL_STYLE,style+CS_SAVEBITS