Print Page | Close Window

Loading an icon with LoadPicture()

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Command Bars
Forum Description: Topics Related to Codejock Command Bars
URL: http://forum.codejock.com/forum_posts.asp?TID=1524
Printed Date: 28 September 2024 at 7:30pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Loading an icon with LoadPicture()
Posted By: Spyder
Subject: Loading an icon with LoadPicture()
Date Posted: 14 December 2004 at 2:02am
Does anyone know how to add an icon with the LoadPicture() method? I need to load various image types not supported by the built-in functions.

I ran across this:
https://forum.codejock.com/forum_posts.asp?TID=763 - https://forum.codejock.com/forum_posts.asp?TID=763
Which apparently loads images from an IPictureDisp - the same thing LoadPicture() returns. However I cannot get this to work in my application.

I am using an ImageManager to supply the default toolbar images - would this make any difference?



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