title bar in windowed mode
Blitz3D Forums/Blitz3D Programming/title bar in windowed mode
| ||
Hello All: Can anyone tell me how/if it is possible to get rid of the windows title bar while in b3d graphics 3d windowed mode? Or, how to change the color and content of the extant bar. thanks Dena |
| ||
Well you can use a GUI Lib like BlitzUI or the like and create your own window therein... I am assuming you have found out about AppTitle etc. Other than that I have not heard of any way to skin or change the AppTitleBar property... Anyone??? |
| ||
Thanks Rook, just found several solutions in F-UI and others. Duh. |
| ||
BlitzSys.DLL has some options to use a custom window shape (eg a circle), so this way you can also cut off the title bar etc. |
| ||
jfk, I know I had seen that somewhere before, thanks! |
| ||
where is BlitzSys.dll? |
| ||
The official Win32 method for doing this:hWnd = systemProperty("apphWnd") style = api_getwindowlong(hWnd,GWL_STYLE) style = style Xor WS_CAPTION api_SetWindowLong hWnd,GWL_STYLE,style Good god I need to spread that information around better. A good User32.decls file, which contains those api_ functions, and many other fun win32 things: http://www.blitzbasic.com/codearcs/codearcs.php?code=1179 |
| ||
Win32 constants (contains GWL_STYLE and WS_CAPTION): |
| ||
Oh yes... it would be great to see more docs on the Win32 constants... |
| ||
bassist102 - here's a copy of it: http://www.melog.ch/dl/blitzsys_v105.zip |