Print Page | Close Window

Load Bitmap or icons from DLL

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=7146
Printed Date: 18 June 2025 at 5:21pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Load Bitmap or icons from DLL
Posted By: WaleedSeada
Subject: Load Bitmap or icons from DLL
Date Posted: 16 May 2007 at 3:04am
Hello All
 
I want to use .dll file to store all my images and resources in order to coorperate it inside Commandbars
 
Does anyone know how to load the bitmap from a DLL rather than .bmp image ...
 
Thanks and best regards
 


-------------
:Powerbuilder 10.5
:Codejock suite 11.2.2
=========================
Waleed Seada



Replies:
Posted By: Oleg
Date Posted: 16 May 2007 at 6:02am
Hi,
in 11.1 was added
 
LoadBitmapFromResource(long Module, long Resource, [in]VARIANT Commands, XTPImageState imageState);
 
method for ImageManager.


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


Posted By: malhabibi
Date Posted: 12 June 2007 at 5:38am
Hi,

Is there a way to use Icons from a DLL with CommandBar
I tried to use "LoadBitmapFromResource" but it did not work.

Thanks in advance

MAH


Posted By: Oleg
Date Posted: 12 June 2007 at 7:30am
Hi,
 
yes, its possible. How did you try it?


-------------
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