CBitmapButton::Loadbitmap [modified][Solved]
-
I use CBitmapButton in a few places in my project (MFC SDI ) CBitmapButton has a function LoadBitmaps( LPCTSTR lpszBitmapResource, LPCTSTR lpszBitmapResourceSel = NULL, LPCTSTR lpszBitmapResourceFocus = NULL, LPCTSTR lpszBitmapResourceDisabled = NULL) where lpszBitmapResource, in my case is IDB_BITMAP1 loaded from the resource file . Can u tell me how to load this bitmaps from dll(export resources) ? i know to make a dll in mfc but only to export classes with math functions Thank u very much i would be much obliged if someoane can show me
modified on Wednesday, July 7, 2010 2:34 AM
-
I use CBitmapButton in a few places in my project (MFC SDI ) CBitmapButton has a function LoadBitmaps( LPCTSTR lpszBitmapResource, LPCTSTR lpszBitmapResourceSel = NULL, LPCTSTR lpszBitmapResourceFocus = NULL, LPCTSTR lpszBitmapResourceDisabled = NULL) where lpszBitmapResource, in my case is IDB_BITMAP1 loaded from the resource file . Can u tell me how to load this bitmaps from dll(export resources) ? i know to make a dll in mfc but only to export classes with math functions Thank u very much i would be much obliged if someoane can show me
modified on Wednesday, July 7, 2010 2:34 AM
Member 1925990 wrote:
Can u tell me how to load this bitmaps from dll(export resources) ?
There's nice tutorial here how to use
CBitmapButton
class.Member 1925990 wrote:
i know to make a dll in mfc but only to export classes with math function
You could start from here. Please ask google before posting.There's plenty of tutorials how to solve these problems.
Life is a stage and we are all actors!