Window Background

Just starting out? Need help? Post your questions and find answers here.
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

Post by BackupUser »

Restored from previous forum. Originally posted by Danilo.

Hello !!

I want to have 2 different Backgrounds
for 2 Windows.

Thats a bit of a problem, because
every Window is using the same
WindowClass.
If i set a background to a window
and open another Window, the 2nd Win
is using the same Background (logical).

How can i set 2 different Backgrounds
for 2 Windows ??

Thanks,
...Danilo

(registered PureBasic user)
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

Post by BackupUser »

Restored from previous forum. Originally posted by fred.

This is a big problem in the Window library. Every window use the same class which isn't very smart. I will change it quickly, probably for the next release. Thanks for the remark !



Fred - AlphaSND
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

Post by BackupUser »

Restored from previous forum. Originally posted by Danilo.

That would be very cool, Fred !!

I´m writing a Skinning-Library atm
and it would be cool if every Window
could have its own Skin and Background.
(Skinning = unusual form, not rectangular)

The Library works fine, but it would
be better if you could give every
Window another Skin and Background.

BTW:
1.) Did you add the "?"-Pointer to the
LoadImage Command ?? ( LoadImage(0, ?MyPic) )
For include the Pics in the .EXE

2.) When will v2.80 come...
(the "christmas release", but christmas is over...)
Cant wait for it...

Thanks,
...Danilo

(registered PureBasic user)
Post Reply