Corrupt images in imagebutton()?

Everything else that doesn't fall into one of the other PB categories.
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 NIN.

For some reason, when I load an image and use it with imagebutton, the images sometimes come out with gray spots on them. They are 16x16 .bmp's. It seems to happen only when I have other apps open, over the area my PB application opens onto.

Any idea why?
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 NIN.

Here is a picture. Sometimes the images are totally greyed out. I am running WindowsME:

http://www.leadwerks.com/storage/pberror.jpg
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 Berikco.

Maybe a GFX driver problem...and Windows ME....mmmmm...biggest bug M$ ever released
Can you post a little sample code or exe with the image included?


Regards,

Berikco

http://www.benny.zeb.be/purebasic.htm
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 NIN.

I fixed it by using .ico files instead of .bmp
Post Reply