Skip to main content
gamedev.net
🔒 Locked

Hmm.. Fancy Window program

Started by Von 8 replies 500+ views
Original Post
Von
Von
I''m wondering on how to do window programs that doesn''t conform to the standend window style. eg square window, boxy buttons... title bar... ? How do they actually customise the window?
dwarfsoft
dwarfsoft
I think they do it by drawing a DirectX area over the top of the area of screen that they want. Maybe they use a few layers, but I am not sure... I can see how it is possible to do by just making a lot of very small directX layers that just conform to your shape... you could even make circular windows

-Chris Bennett of Dwarfsoft - Site:"The Philosophers'' Stone of Programming Alchemy" - IOL
The future of RPGs - Thanks to all the goblins over in our little Game Design Corner niche
          
dwarfsoft
dwarfsoft
I''m still wondering, tho, about how mouse clicks are handled on areas that are supposed to transparent and therefore the mouse should be clicking on what is behind the window... does this cause a problem? Or does the hidden aspect mean that it defaults to clicking on the program behind unless it clicks on the hotspot for the bitmaps?


-Chris Bennett of Dwarfsoft The future of RPGsThanks to all the goblins over in our little Game Design Corner niche
Kestrel
Kestrel
check this out

http://www.itaz.com/edgetracer/irregular_windows_bcb.htm

it''s done with borland builder but I''m sure it can be done in win32
dwarfsoft
dwarfsoft
Interesting... I will have a little play around with that source code and see what I can do using M$VC. It could be quite fun... Or maybe I will just use DX like I was going to before


-Chris Bennett of Dwarfsoft - The future of RPGs
Thanks to all the goblins over in our little Game Design Corner niche
omegasyphon
omegasyphon
maybe i missed this but that link only shows you how to change the shape of the window and not the buttons
Von
Von
Thx...

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.