| | |
LR_DEFAULTSIZE|LR_LOADFROMFILE in WinCE
Please support our C++ advertiser: Programming Forums - DaniWeb Sister Site
![]() |
•
•
Join Date: Jul 2004
Posts: 1
Reputation:
Solved Threads: 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
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
![]() |
Similar Threads
- LoadImage() to bit array (Game Development)
- LoadImage to array (C++)
- Creating DB for WinCE... (C#)
- WINCE database creation (Database Design)
- SOAP for WinCE (RSS, Web Services and SOAP)
Other Threads in the C++ Forum
- Previous Thread: HELP with the SYSTEM FILES FOR WINDOWS !
- Next Thread: Reverse Output (Stack)
Views: 3226 | Replies: 0
| Thread Tools | Search this Thread |
Tag cloud for C++
6 add api array arrays beginner binary bitmap c++ c/c++ calculator char class classes code compile compiler console conversion convert count data delete desktop directshow dll encryption error file forms fstream function functions game getline givemetehcodez google graph homeworkhelper iamthwee ifstream input int integer java lazy lib linkedlist linux loop looping loops map math matrix memory microsoft newbie news node number output parameter pointer problem program programming project proxy python random read recursion recursive reference return sort string strings struct studio system template templates test text tree unix url variable vector video visual visualstudio win32 windows winsock word wordfrequency wxwidgets





