Print Page | Close Window

CXTPTaskDialog & AfxGetInstanceHandle

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=9871
Printed Date: 15 November 2024 at 9:15pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: CXTPTaskDialog & AfxGetInstanceHandle
Posted By: larryp
Subject: CXTPTaskDialog & AfxGetInstanceHandle
Date Posted: 12 March 2008 at 3:12pm
The function CXTPTaskDialog::CreateFromResource calls  AfxGetInstanceHandle, but I was wondering if it should be calling AfxGetResourceHandle.
I load my resources from a dll and then call AfxSetResourceHandle.
I am able to call the version of CreateFromResource that allows me to pass in the handle to get it to work but I was't sure if the other routine was calling the wrong function. 



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