VB6: How to load 32bit alpha icons for PictureBox? |
Post Reply |
Author | |
Alexey2
Senior Member Joined: 24 September 2006 Status: Offline Points: 124 |
Post Options
Thanks(1)
Posted: 23 May 2013 at 5:48am |
I use standard VB6 controls: PictureBox or Image.
Is it possible to load 32bit alpha icons to it? When I use the following code: ImageManager1.Icons.LoadIcon "N:\ICON\48.ico", 1, 0 Image1.Picture = ImageManager1.Icons.GetImage(1, 48).CreatePicture(xtpImageNormal) The image is loaded but with black background. How to remove this black background? Or maybe we can use some similar codejock control instead of standard PictureBox or Image?
|
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |