Create a CBitmap from Resources ID

Posted by Smashery on Stack Overflow See other posts from Stack Overflow or by Smashery
Published on 2010-05-04T01:33:31Z Indexed on 2010/05/04 1:38 UTC
Read the original article Hit count: 304

Filed under:
|
|
|

I need to fill a CImageList with a number of bitmaps which are stored in separate bmp files (rather than as a single bmp with numerous parts). I assume I need to create a CBitmap so I can call the Add method of CImageList. So how might one create a CBitmap object using only MFC Resource IDs?

© Stack Overflow or respective owner

Related posts about mfc

Related posts about cbitmap