Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Controls
  New Posts New Posts RSS Feed - VB6: How to load 32bit alpha icons for PictureBox?
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

VB6: How to load 32bit alpha icons for PictureBox?

 Post Reply Post Reply
Author
Message
Alexey2 View Drop Down
Senior Member
Senior Member


Joined: 24 September 2006
Status: Offline
Points: 124
Post Options Post Options   Thanks (1) Thanks(1)   Quote Alexey2 Quote  Post ReplyReply Direct Link To This Post Topic: VB6: How to load 32bit alpha icons for PictureBox?
    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?
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.172 seconds.