showing a bitmap
Posted on 2003-11-17
i'm trying to change the bitmap in a CStatic but ut doesn't seem to work,
i'm having trouble with that first parameter
m_picture.SetBitmap( ::LoadBitmap(AfxGetResourceHandle(), MAKEINTRESOURCE(IDB_PIJLKE)) );
doesn't work, and to get a handle to the bitmap i tried
HANDLE handle =LoadImage(AfxGetResourceHandle() , _T("IDB_PIJL"), IMAGE_BITMAP ,0, 0,LR_DEFAULTCOLOR);
but this also doesn't work, can someone help me plz?