adarsh_bhat
asked on
Obtainig a bitmap handle from its filename
Dear Friends,
I am developing an application using MFC where on a click of push
button ,a dialog box is popped up which shows the bitmap files in any
directory and on selecting any bitmap file it should load the bitmap
image on the static text control provided on the form view .
The problem is that i am not able get any function which returns a
handle to the bitmap from its filename so that i can load the bitmaps
accordingly.
I am developing an application using MFC where on a click of push
button ,a dialog box is popped up which shows the bitmap files in any
directory and on selecting any bitmap file it should load the bitmap
image on the static text control provided on the form view .
The problem is that i am not able get any function which returns a
handle to the bitmap from its filename so that i can load the bitmaps
accordingly.
Check out CodeGuru (www.codeguru.developer.com). They have a function that load a bitmap from a file.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Hi,
U can get that in the following links
http://www.codeguru.com/bitmap/index.shtml
http://www.codeguru.com/bitmap/draw_bmp.shtml
http://www.codeguru.com/bitmap/bitmap_from_bmp.shtml
Hope it helps
U can get that in the following links
http://www.codeguru.com/bitmap/index.shtml
http://www.codeguru.com/bitmap/draw_bmp.shtml
http://www.codeguru.com/bitmap/bitmap_from_bmp.shtml
Hope it helps