Print Page | Close Window

Alpha icons support

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Toolkit Pro
Forum Description: Topics Related to Codejock Toolkit Pro
URL: http://forum.codejock.com/forum_posts.asp?TID=889
Printed Date: 25 December 2024 at 9:27am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Alpha icons support
Posted By: deans
Subject: Alpha icons support
Date Posted: 24 June 2004 at 7:31pm
Hi,

I've got a bit of a problem with Alpha icon support. I am trying to get alpha blending working in my application, in a toolbar and a shortcutbar.

 Initially, I was using Toolkit Pro 8.6, and had the following situation:
 
  • alpha icons load fine under Windows XP
  • alpha icons are not displayed under Windows 2000/NT, and the application falls back to my default  non-alphablended toolbars/shortcut bar (XTPImageManager()->IsAlphaIconsSupported() returns FALSE)

To try to make the program display correctly on 2000/NT, I upgraded to Toolkit Pro 8.7.  However, now I have the following behaviour:

  • alpha icons are not displayed under Windows XP, and the application falls back to my default  non-alphablended toolbars/shortcut bar (even though XTPImageManager()->IsAlphaIconsSupported() returns TRUE!)
  • Under 2000/NT, toolbar icons fall back to their non-alphablended defaults, and shortcutbar icons disappear entirely (just empty space!)

Clearly it's not a fault with my code only, since it happens with the demo programs, such as ShortCutBar and GUI_WinZip. (Even the pre-compiled demos downloaded from this site are the same, so it's not an error in my compile environment, either.)  As per the recommendation in another post, I have tried both 16- and 24-bit graphics, which made no difference.

So, how can I make this work? And why do  the ShortCutBar and GUI_WinZip demos I downloaded not display correctly on any of the Win2K boxes here?

Thanks,

Dean




Replies:
Posted By: Ark42
Date Posted: 25 June 2004 at 1:19am
See https://forum.codejock.com/forum_posts.asp?TID=869&PN=1 - https://forum.codejock.com/forum_posts.asp?TID=869&P N=1



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