Click to See Complete Forum and Search --> : MFC CBitmap class


Fanx
April 16th, 1999, 06:58 PM
I can open and view an bitmap in an SDI or MDI app but for my school project I need to be able to use a bitmap that is not included in the exe. How would I go about loading it from the hard disk? Any help would be great. Thanks.

klussier
April 17th, 1999, 05:40 AM
You should be able to use the LoadImage function and include the LR_LOADFROMFILE flag in the fuLoad parameter. See the documentation on LoadImage for more details.

Kevin