Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Toolkit Pro
  New Posts New Posts RSS Feed - CXTPGdiPlus usage...
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

CXTPGdiPlus usage...

 Post Reply Post Reply
Author
Message
lviolette View Drop Down
Groupie
Groupie
Avatar

Joined: 17 March 2007
Location: United States
Status: Offline
Points: 60
Post Options Post Options   Thanks (0) Thanks(0)   Quote lviolette Quote  Post ReplyReply Direct Link To This Post Topic: CXTPGdiPlus usage...
    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
Back to Top
astoyan View Drop Down
Admin Group
Admin Group
Avatar

Joined: 24 August 2013
Status: Offline
Points: 284
Post Options Post Options   Thanks (1) Thanks(1)   Quote astoyan Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
lviolette View Drop Down
Groupie
Groupie
Avatar

Joined: 17 March 2007
Location: United States
Status: Offline
Points: 60
Post Options Post Options   Thanks (0) Thanks(0)   Quote lviolette Quote  Post ReplyReply Direct Link To This Post Posted: 18 September 2023 at 12:53pm
Thank you for the clarification.
L. Violette
Monolith
www.lith.com
Xtreme Toolkit Pro v22.1.0
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.137 seconds.