transparent windows

Just starting out? Need help? Post your questions and find answers here.
coma
Enthusiast
Enthusiast
Posts: 164
Joined: Fri Aug 15, 2003 3:46 am
Location: Canada

transparent windows

Post by coma »

Hi everybody.

I just discovered PureBasic, it's very impressive :D

I have a question : is it possible to make transparent windows ?
=> not a rectangular window, but a window with holes, where we can see the desktop behind.
(like some interfaces, for exemple BSPlayer) ?

Thanks, coma.
User avatar
Rings
Moderator
Moderator
Posts: 1435
Joined: Sat Apr 26, 2003 1:11 am

Post by Rings »

Yes, and done times ago.
see also -> CreateRegion api
SPAMINATOR NR.1
User avatar
Flype
Addict
Addict
Posts: 1542
Joined: Tue Jul 22, 2003 5:02 pm
Location: In a long distant galaxy

Post by Flype »

you can more easily use the PureTools_I library by Danilo. you can find it by searching PureTools on the forum search tool.
No programming language is perfect. There is not even a single best language.
There are only languages well suited or perhaps poorly suited for particular purposes. Herbert Mayer
PB
PureBasic Expert
PureBasic Expert
Posts: 7581
Joined: Fri Apr 25, 2003 5:24 pm

Re: transparent windows

Post by PB »

> is it possible to make transparent windows ?

Yes. This tip demonstrates it quite nicely:

viewtopic.php?t=2246
coma
Enthusiast
Enthusiast
Posts: 164
Joined: Fri Aug 15, 2003 3:46 am
Location: Canada

Post by coma »

oh, thanks, it's perfect ! :)

last thing : I have a problem when I copy/paste some code from the forum to the PB editor (not always) : all the text is put on the same line. How can I arrange this ?
Last edited by coma on Mon Aug 18, 2003 12:21 am, edited 1 time in total.
LarsG
Enthusiast
Enthusiast
Posts: 713
Joined: Mon Jun 02, 2003 1:06 pm
Location: Norway
Contact:

Post by LarsG »

try to copy from the forum and paste it into notepad, then copy from notepad and paste in the PB ed...

-Lars

AMD Athlon XP2400, 512 MB RAM, Hercules 3D Prophet 9600 256MB RAM, WinXP
PIII 800MHz, 320 MB RAM, Nvidia Riva Tnt 2 Mach 64 (32MB), WinXP + Linux
17" iMac, 1.8 GHz G5, 512 MB DDR-RAM, 80 GB HD, 64 MB Geforce FX 5200, SuperDrive, OSX
coma
Enthusiast
Enthusiast
Posts: 164
Joined: Fri Aug 15, 2003 3:46 am
Location: Canada

Post by coma »

doesn't work... :cry:
Kale
PureBasic Expert
PureBasic Expert
Posts: 3000
Joined: Fri Apr 25, 2003 6:03 pm
Location: Lincoln, UK
Contact:

Post by Kale »

paste into Wordpad first, then copy that into PB editor. Some formatting got screwed with forum re-shuffle. :twisted:

BTW Welcome Coma! :D
--Kale

Image
Post Reply