Possible to create a new window class for gadgets?

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

The Forum Archive is locked. These are the original blitzbasic.com forums, kept so their posts can still be read and searched. No new topics, replies or edits can be made here. To join the conversation, 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