Print Page | Close Window

BUG: v18.0.1 Images are no longer transparent

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Report Control
Forum Description: Topics Related to Codejock Report Control
URL: http://forum.codejock.com/forum_posts.asp?TID=23429
Printed Date: 24 April 2024 at 9:24pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: BUG: v18.0.1 Images are no longer transparent
Posted By: mgampi
Subject: BUG: v18.0.1 Images are no longer transparent
Date Posted: 29 August 2017 at 11:45am
Hi;

Just compiled my app using v18.0.1 and all icons used in CXTPReportControl instances are no longer transparent. The images are 32bit BMP files with alpha channel and are loaded in this way:

  CBitmap bmp;
  bmp.Attach(static_cast<HBITMAP>(LoadImage(AfxGetInstanceHandle(), MAKEINTRESOURCE(IDB_MESSAGE_TYPES), IMAGE_BITMAP, 0, 0, LR_DEFAULTSIZE | LR_CREATEDIBSECTION)));
  VERIFY(Images_.Create(16,16, ILC_COLOR32, 15, 1));
  Images_.Add(&bmp, reinterpret_cast<CBitmap*>(0));
  SetImageList(&Images_);
  bmp.DeleteObject();

Here you can see how it looks like in in v 17.3.1 and/or v15.3.1:



and here in v18.0.1:



How can I solve this?


-------------
Martin

Product: Xtreme Toolkit v 19.0.0, new Projects v 19.1.0
Platform: Windows 10 v 1909 (64bit)
Language: VC++ 2017



Replies:
Posted By: mgampi
Date Posted: 29 August 2017 at 12:07pm
Solved it just few minutes later!

Reason is mentioned in GetComCtlVersion bug:

http://forum.codejock.com/forum_posts.asp?TID=23410&title=solved-v180-cxtpsystemversiongetcomctlversion" rel="nofollow - http://forum.codejock.com/forum_posts.asp?TID=23410&title=solved-v180-cxtpsystemversiongetcomctlversion

When will an update for this and the other found issues be available?




-------------
Martin

Product: Xtreme Toolkit v 19.0.0, new Projects v 19.1.0
Platform: Windows 10 v 1909 (64bit)
Language: VC++ 2017



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