Stef Merlijn
asked on
Load bitmap from RES, DLL or EXE
Hi, I need to load bitmaps from resourcefile (PRGImages.res)?
After loading the bitmap it must be assigned to SpeedButton1.Glyph.
Or what is the fastest and good way to set this up?
1. add bmp's to a RES?
2. add bmp's to the EXE?
3. add bmp's to a DLL?
The RES-file (option 1) I already have (PRGImages.res with 3 bmp 16x16).
Options 2 and 3 should also include the way to add the bmp's into the EXE or DLL.
I would prefer some code (f.e. project).
Thanks a lot for your help. Stef
After loading the bitmap it must be assigned to SpeedButton1.Glyph.
Or what is the fastest and good way to set this up?
1. add bmp's to a RES?
2. add bmp's to the EXE?
3. add bmp's to a DLL?
The RES-file (option 1) I already have (PRGImages.res with 3 bmp 16x16).
Options 2 and 3 should also include the way to add the bmp's into the EXE or DLL.
I would prefer some code (f.e. project).
Thanks a lot for your help. Stef
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
http://www.howtodothings.com/showarticle.asp?article=288