Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Toolkit Pro
  New Posts New Posts RSS Feed - Alpha icons support
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Alpha icons support

 Post Reply Post Reply
Author
Message
deans View Drop Down
Newbie
Newbie


Joined: 24 June 2004
Status: Offline
Points: 1
Post Options Post Options   Thanks (0) Thanks(0)   Quote deans Quote  Post ReplyReply Direct Link To This Post Topic: Alpha icons support
    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

Back to Top
Ark42 View Drop Down
Senior Member
Senior Member
Avatar

Joined: 20 October 2003
Status: Offline
Points: 291
Post Options Post Options   Thanks (0) Thanks(0)   Quote Ark42 Quote  Post ReplyReply Direct Link To This Post Posted: 25 June 2004 at 1:19am
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.188 seconds.