![]() |
Toolkit Pro clients does not release GDI Objects |
Post Reply
|
| Author | |
eksubbot
Newbie
Joined: 23 April 2009 Status: Offline Points: 3 |
Post Options
Thanks(0)
Quote Reply
Topic: Toolkit Pro clients does not release GDI ObjectsPosted: 01 December 2009 at 6:39am |
|
Hello all, We support application which uses Xtreme ToolkitPro v11.1.3. We found the following issue- our application does not release GDI Objects. After detailed problem investigation it was determined that this is Xtreme ToolkitPro issue. Example: Out application creates popup control. In Task Manager I see that the count of GDI object is increased by 21 objects. Then I close popup window and the count of GDI object is decreased by 10 object. So, 11 GDI objects are lost.
Does anybody know how this issue may be fixed? May be this issue is fixed in the latest versions of Xtreme ToolkitPro? |
|
![]() |
|
Oleg
Senior Member
Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
Quote Reply
Posted: 02 December 2009 at 4:42am |
|
Hello,
yes, its problem of this sample. LoadImage create new GDI Handle and sample code have to release it.
to cleanup it instead LoadImage call
pPopup->GetImageManager()->SetIcon(IDI_RESOURCE, pItemIcon->GetIconIndex());
|
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
|
eksubbot
Newbie
Joined: 23 April 2009 Status: Offline Points: 3 |
Post Options
Thanks(0)
Quote Reply
Posted: 03 December 2009 at 4:25am |
|
Hello Oleg,
Thanks, it helped
|
|
![]() |
|
Post Reply
|
|
|
Tweet
|
| Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |