954,202 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

LR_DEFAULTSIZE|LR_LOADFROMFILE in WinCE

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

d_paul_raj
Newbie Poster
1 post since Jul 2004
Reputation Points: 10
Solved Threads: 0
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You