Print Page | Close Window

Icon on button

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=6320
Printed Date: 19 June 2025 at 11:58am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Icon on button
Posted By: kandylion
Subject: Icon on button
Date Posted: 05 February 2007 at 10:02am
Hi,
I'd like to load images into an imagelist (from a resource file c#) and associate an image within it with a button. All of this is done programmatically.
The problem that I am having is that the ImageManager object seems to expect a handle (int) in the AddIcon method or it expects a string value in LoadImage that points to an image file on disk. Is it possible to load the images from an imagelist into Imagemanager?
Best Regards



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