title bar in windowed mode

Blitz3D Forums/Blitz3D Programming/title bar in windowed mode

dena(Posted 2005) [#1]
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


Rook Zimbabwe(Posted 2005) [#2]
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???


dena(Posted 2005) [#3]
Thanks Rook, just found several solutions in F-UI and others. Duh.


jfk EO-11110(Posted 2005) [#4]
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.


dena(Posted 2005) [#5]
jfk, I know I had seen that somewhere before, thanks!


RRK1020(Posted 2005) [#6]
where is BlitzSys.dll?


Picklesworth(Posted 2005) [#7]
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


Picklesworth(Posted 2005) [#8]
Win32 constants (contains GWL_STYLE and WS_CAPTION):



Rook Zimbabwe(Posted 2005) [#9]
Oh yes... it would be great to see more docs on the Win32 constants...


jfk EO-11110(Posted 2005) [#10]
bassist102 - here's a copy of it:
http://www.melog.ch/dl/blitzsys_v105.zip