Print Page | Close Window

CXTPGdiPlus usage...

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=24421
Printed Date: 14 May 2024 at 1:15am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: CXTPGdiPlus usage...
Posted By: lviolette
Subject: CXTPGdiPlus usage...
Date Posted: 08 September 2023 at 2:03pm
Is there a migration guide for 22.1?  We have some painting that makes use of CXTPGdiPlus and it appears to be deprecated and doesn't initialize GDIPlus anymore.

So when it hits our painting code, we attempt to retrieve it and it's nullptr.

I was hoping there was a suggestion on how to use it or initialize it now.


-------------
L. Violette
Monolith
www.lith.com
Xtreme Toolkit Pro v22.1.0



Replies:
Posted By: astoyan
Date Posted: 18 September 2023 at 9:29am
Hello,

GDI+ is now initialized during ToolkitPro initialization from CXTPWinApp. Please make sure you derive your main application class from CXTPWinApp.

Regards,
   Alexander


Posted By: lviolette
Date Posted: 18 September 2023 at 12:53pm
Thank you for the clarification.

-------------
L. Violette
Monolith
www.lith.com
Xtreme Toolkit Pro v22.1.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