I can't create a windowed but titlebar-less Blitz window.
I've done a search on the forums but still can't find what I need.
This works fine to create a standard window: \/
hWnd = DLLFindBlitzRuntimeHwnd(ProgName$)
WindowStyle = WS_VISIBLE + WS_BORDER + WS_MINIMIZEBOX + WS_MAXIMIZEBOX + WS_SIZEBOX + WS_SYSMENU
User32_SetWindowLong(hWnd,GWL_STYLE,WindowStyle)
To get rid of the Titlebar, if this was C, all I would have to do is change to:
WindowStyle = WS_VISIBLE
But all I get is a dead, blank window.
In fact any combination of flags other than the top WidowStyle def causes a blank window.
Please don't suggest that I use SetWindowRgn - that just clips the region and I lose the bottom 20 pixels.
Any ideas, please?
I've done a search on the forums but still can't find what I need.
This works fine to create a standard window: \/
hWnd = DLLFindBlitzRuntimeHwnd(ProgName$)
WindowStyle = WS_VISIBLE + WS_BORDER + WS_MINIMIZEBOX + WS_MAXIMIZEBOX + WS_SIZEBOX + WS_SYSMENU
User32_SetWindowLong(hWnd,GWL_STYLE,WindowStyle)
To get rid of the Titlebar, if this was C, all I would have to do is change to:
WindowStyle = WS_VISIBLE
But all I get is a dead, blank window.
In fact any combination of flags other than the top WidowStyle def causes a blank window.
Please don't suggest that I use SetWindowRgn - that just clips the region and I lose the bottom 20 pixels.
Any ideas, please?