Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Command Bars
  New Posts New Posts RSS Feed - Load Bitmap or icons from DLL
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Load Bitmap or icons from DLL

 Post Reply Post Reply
Author
Message
WaleedSeada View Drop Down
Groupie
Groupie
Avatar

Joined: 29 March 2007
Location: Egypt
Status: Offline
Points: 88
Post Options Post Options   Thanks (0) Thanks(0)   Quote WaleedSeada Quote  Post ReplyReply Direct Link To This Post Topic: Load Bitmap or icons from DLL
    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
Back to Top
Oleg View Drop Down
Admin Group
Admin Group


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
malhabibi View Drop Down
Groupie
Groupie


Joined: 22 May 2007
Location: United Kingdom
Status: Offline
Points: 18
Post Options Post Options   Thanks (0) Thanks(0)   Quote malhabibi Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
Oleg View Drop Down
Admin Group
Admin Group


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post Posted: 12 June 2007 at 7:30am
Hi,
 
yes, its possible. How did you try it?
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.125 seconds.