Print Page | Close Window

PopupControl Background transparency problem

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Controls
Forum Description: Topics Related to Codejock Controls
URL: http://forum.codejock.com/forum_posts.asp?TID=20062
Printed Date: 27 November 2024 at 1:54pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: PopupControl Background transparency problem
Posted By: Willowmaster
Subject: PopupControl Background transparency problem
Date Posted: 17 August 2012 at 6:39am
Hi all,
While making a nice splashscreen with the PopupControl I ran into a problem with the transparancy of my image and I wanted to share the solution for this problem I got from CodeJock support.
I used this 32 bit alphachannel image as the BackgroundBitmap.
On the splashscreen I added an Item which I wanted to update with the loading process.
Loading Plugins, Loading windows, etc. But with this image the Item was not visible. Codejock Support found out this is a Microsoft problem ( http://msdn.microsoft.com/en-us/library/windows/desktop/ms633556%28v=vs.85%29.aspx -
 
The only thing I had a little struggle with was how to set the MaskColor. I used an ImageManager with the image set at designtime. Setting the MaskColor on the ImageManager.Icons and then adding the icons to the PopupControl.Icons didn't work. But first setting the MaskColor on the PopupControl.Icons
and then adding the ImageManager.Icons to the PopupControl.Icons did work!
 
I also attached a zip file I have send to CodeJock Support which contains the project that reproduces the problem ( uploads/6226/SplashScreen1.zip - uploads/6226/SplashScreen1.zip ).
 
Hopefully there will be more people who can use this workaround to accomplish a nice splashscreen. :)
 
CodeJock Version used: 15.3.1
 
All images in this post and in the zip file are all copyrighted by Square DMS and cannot by used without permission.


-------------
Product: Xtreme SuitePro (ActiveX) version 15.3.1

Platform: Windows XP (32bit) - SP 3 (on VMWare)

Language: Visual Basic 6.0






Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net