Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Report Control
  New Posts New Posts RSS Feed - BUG: v18.0.1 Images are no longer transparent
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

BUG: v18.0.1 Images are no longer transparent

 Post Reply Post Reply
Author
Message
mgampi View Drop Down
Senior Member
Senior Member
Avatar

Joined: 14 July 2003
Status: Offline
Points: 1007
Post Options Post Options   Thanks (0) Thanks(0)   Quote mgampi Quote  Post ReplyReply Direct Link To This Post Topic: BUG: v18.0.1 Images are no longer transparent
    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 15.3.1, new Projects v 18.0.1
Platform: Windows 8.1 (64bit)
Language: VC++ 2015 U
Back to Top
mgampi View Drop Down
Senior Member
Senior Member
Avatar

Joined: 14 July 2003
Status: Offline
Points: 1007
Post Options Post Options   Thanks (1) Thanks(1)   Quote mgampi Quote  Post ReplyReply Direct Link To This Post 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

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


Martin

Product: Xtreme Toolkit v 15.3.1, new Projects v 18.0.1
Platform: Windows 8.1 (64bit)
Language: VC++ 2015 U
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down



This page was generated in 0.125 seconds.