Print Page | Close Window

Image resource handle res://

Printed From: Codejock Forums
Category: General
Forum Name: XAML Snippets
Forum Description: Post your XAML snippets here for everyone to enjoy :)
URL: http://forum.codejock.com/forum_posts.asp?TID=11890
Printed Date: 28 April 2025 at 3:34am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Image resource handle res://
Posted By: cpede
Subject: Image resource handle res://
Date Posted: 19 August 2008 at 4:54pm
When loading image resources into Markup I can see that in method:
void CXTPMarkupImage::LoadImage(),
you use AfxGetInstanceHandle(), I believe that AfxGetResourceHandle() would be more correct.
 
E.g. I use localized DLLs changing the resource handle dynamically.
 
-cpede



Replies:
Posted By: Oleg
Date Posted: 20 August 2008 at 2:22am
Thanks. changed.

-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS



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