d_paul_raj 0 Newbie Poster

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

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.