Borderless Win

Blitz3D Forums/Blitz3D Programming/Borderless Win

Tracer(Posted 2004) [#1]
Is there any way to make the Window that BLitz3D creates borderless?

I've tried all sorts of stuff, but i can't seem to get it done.

Tracer


Bot Builder(Posted 2004) [#2]
I remember a demo by darklordz like this... I'm not sure what he did though.


maverick(Posted 2004) [#3]
It can be done using the windows API CreateRectRgn and CombineRgn in the GDI32.DLL. Infact you can create any shape window you like. I think there is a DLL floating about on www.blitzcoder.com called Skinapp in the functions section if i remember right that wraps these GDI32 functions to make it easier


fredborg(Posted 2004) [#4]
Take a look here: http://www.blitzbasic.com/codearcs/codearcs.php?code=829

If you just want the border and titlebar to go away, you should simply set the window style to WS_VISIBLE (+WS_SYSMENU if you want to be able to close the window). If you want something more exotic, there is an example of that in the code archives as well. Let me just find it...

Here it is: http://www.blitzbasic.com/codearcs/codearcs.php?code=664


Tracer(Posted 2004) [#5]
Thanks all!

The code archives need a search function!

Tracer


darklordz(Posted 2004) [#6]
http://www.blitzbasic.com/Community/posts.php?topic=28413

i posted the addon to move a borderles window by draggin it in the tutorials section.


Tracer(Posted 2004) [#7]
Yeah, that part i had already figured out :) i just seem to have missed the ShowWindow bit of the borderless.

Oh well, all worky now.

Tracer