Dark Bit Factory & Gravity

PROGRAMMING => Freebasic => Topic started by: Shockwave on May 30, 2007

Title: PTC_EXT request ;-)
Post by: Shockwave on May 30, 2007
This is for Rbraz I guess.. I was thinking about the extended version of tinyptc, which I have really enjoyed using (as you know! Just click any link in my sig!!).

I was wondering how much hassle would it be to include a parameter for borderless window?

That would be really cool for things like music disks and cracktro style things that need a windowed mode option.

The bordered window can look kind of ugly which forces me to go fullscreen most of the time.
Title: Re: PTC_EXT request ;-)
Post by: Rbz on May 30, 2007
Sure matey, it can be done, I will add this function tonight and post it here.

Btw, nice idea, a borderless window is really useful for music disks.
Title: Re: PTC_EXT request ;-)
Post by: rain_storm on May 30, 2007
While we are on the subject how hard would it be using an alpha channel to mask out a shape for the windows borders I have only seen this done in win32 assembler but it would be a great tweak
Title: Re: PTC_EXT request ;-)
Post by: Shockwave on May 30, 2007
K++ Rbraz :)

Really looking forward to this addition mate!
Never seen alpha'ed windows borders, any links Rain Storm? :)
Title: Re: PTC_EXT request ;-)
Post by: Jim on May 30, 2007
There are lots of programs that change the shape of a window, including XP themed windows with the rounded-off corners.  But it is in fact possible to have any shape, even concave ones with holes in, using Windows Region APIs.

Jim
Title: Re: PTC_EXT request ;-)
Post by: Rbz on May 31, 2007
Done ;)

http://dbfinteractive.com/index.php?topic=1382.0


While we are on the subject how hard would it be using an alpha channel to mask out a shape for the windows borders I have only seen this done in win32 assembler but it would be a great tweak
Sometime ago, I have coded a "skinned window" in freebasic, Camouflage musicdisk, you can download the source code here -> http://www.rbraz.com/files/DBF-GVY_Camouflage_src.rar
Hope it help you
Title: Re: PTC_EXT request ;-)
Post by: rain_storm on May 31, 2007
Nice one, K+ for sharing the source code rbraz, thanks a lot
Title: Re: PTC_EXT request ;-)
Post by: Shockwave on May 31, 2007
Thank you very very much for the quick and speedy update Rbraz!!

Very much appreciated, I will be putting it to use.

K+++  :cheers: If there's ever anything I can do for you, let me know please! I'd like to repay your kindness somehow!
Title: Re: PTC_EXT request ;-)
Post by: Rbz on June 01, 2007
No problem mate   ;D

Quote
K+++  Cheers! If there's ever anything I can do for you, let me know please! I'd like to repay your kindness somehow!
Yes, there's one thing --> just keep coding!