0

Hai,

TCHAR szFileName [] = _T("D:\\NEW Images VC++\\IDB_BITMAP.bmp");

HBITMAP hBitmap = (HBITMAP)LoadImage( NULL,szFileName, 0, 0,SS_BITMAP,0|0);//LR_DEFAULTSIZE | LR_LOADFROMFILE );

if(!hBitmap)
{
AfxMessageBox(_T("failed"));
}
m_CtrlPicture.SetBitmap(hBitmap);

But LRDEFAULTSIZE and LR_LOADFROMFILE is not supporting in WinCE. Is there any option is there.

with regards.
Darwin

1
Contributor
0
Replies
1
Views
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.