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.
Printable View
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.
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