Instead of using maxGui, you can also change
Local style = WS_VISIBLE | WS_CAPTION | WS_SYSMENU
to
Local style = WS_OVERLAPPEDWINDOW |WS_VISIBLE
in "d3d7graphics.bmx".
Same window styles must be used in "bbGLGraphicsCreateGraphics" in glgraphics.win32.c