資源簡介
好用又靈活的一個嵌入式類庫
通過XML 修改控件部局
代碼片段和文件信息
//?AppPhoto.cpp?:?Defines?the?class?behaviors?for?the?application.
//
#include?“stdafx.h“
#include?“AppPhoto.h“
#include?“PhotoRealDlg.h“
#ifdef?_DEBUG
#define?new?DEBUG_NEW
#endif
//?CAppPhotoApp
BEGIN_MESSAGE_MAP(CAppPhotoApp?CWinApp)
//ON_COMMAND(ID_HELP?&CWinApp::onhelp)
END_MESSAGE_MAP()
//?CAppPhotoApp?construction
CAppPhotoApp::CAppPhotoApp()
{
//?TODO:?add?construction?code?here
//?Place?all?significant?initialization?in?InitInstance
}
//?The?one?and?only?CAppPhotoApp?object
CAppPhotoApp?theApp;
//?CAppPhotoApp?initialization
BOOL?CAppPhotoApp::InitInstance()
{
//?InitCommonControlsEx()?is?required?on?Windows?XP?if?an?application
//?manifest?specifies?use?of?ComCtl32.dll?version?6?or?later?to?enable
//?visual?styles.??Otherwise?any?window?creation?will?fail.
INITCOMMONCONTROLSEX?InitCtrls;
InitCtrls.dwSize?=?sizeof(InitCtrls);
//?Set?this?to?include?all?the?common?control?classes?you?want?to?use
//?in?your?application.
InitCtrls.dwICC?=?ICC_WIN95_CLASSES;
InitCommonControlsEx(&InitCtrls);
CWinApp::InitInstance();
AfxEnableControlContainer();
//?Standard?initialization
//?If?you?are?not?using?these?features?and?wish?to?reduce?the?size
//?of?your?final?executable?you?should?remove?from?the?following
//?the?specific?initialization?routines?you?do?not?need
//?Change?the?registry?key?under?which?our?settings?are?stored
//?TODO:?You?should?modify?this?string?to?be?something?appropriate
//?such?as?the?name?of?your?company?or?organization
SetRegistryKey(_T(“Local?AppWizard-Generated?Applications“));
#ifdef?_WIN32_WCE
WceUiInit(AfxGetInstanceHandle()?
L“exe_data\\app_photo\\wnd“?L“res2“?L“exe_data\\app_photo\\language\\en-us.ini“?TRUE);
#else
WceUiInit(AfxGetInstanceHandle()?
L“exe_data\\app_photo\\wnd“?L“res“?L“exe_data\\app_photo\\language\\en-us.ini“?TRUE);
#endif
CRealWnd?wndParent;
wndParent.Create(WS_POPUP?CRect(0?0?0?0)?NULL);
#ifdef?_WIN32_WCE
HWND?hwndParent?=?wndParent.m_hWnd;
#else
HWND?hwndParent?=?NULL;
#endif
CPhotoRealDlg?dlg;
int?nScrWidth?=?WceUiGetScreenWidth();
int?nScrHeight?=?WceUiGetScreenHeight();
dlg.DoModal(WS_VISIBLE|WS_POPUP?CRect(0?0?nScrWidth?nScrHeight)?hwndParent);
wndParent.DestroyWindow();
//?Since?the?dialog?has?been?closed?return?FALSE?so?that?we?exit?the
//??application?rather?than?start?the?application‘s?message?pump.
return?FALSE;
}
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????目錄???????????0??2009-12-12?16:23??wceui\
?????目錄???????????0??2009-11-21?18:02??wceui\ARM\
?????目錄???????????0??2009-11-21?18:02??wceui\ARM\WinCE5.0\
?????目錄???????????0??2009-11-21?18:01??wceui\ARM\WinCE5.0\EVC4\
?????目錄???????????0??2009-11-21?18:01??wceui\ARM\WinCE5.0\EVC4\bin\
?????文件???????46080??2009-11-21?17:59??wceui\ARM\WinCE5.0\EVC4\bin\WceUiDll.dll
?????目錄???????????0??2009-11-21?18:03??wceui\ARM\WinCE5.0\EVC4\lib\
?????文件?????4233110??2009-12-12?16:26??wceui\ARM\WinCE5.0\EVC4\lib\libWceUi_Dbg.lib
?????文件?????1456742??2009-12-12?16:29??wceui\ARM\WinCE5.0\EVC4\lib\libWceUi_Rel.lib
?????文件????????1952??2009-11-21?17:59??wceui\ARM\WinCE5.0\EVC4\lib\WceUiDll.lib
?????目錄???????????0??2009-11-21?18:02??wceui\ARM\WinCE5.0\VS2005\
?????文件??????????50??2009-11-21?18:02??wceui\ARM\WinCE5.0\VS2005\ReadMe.txt
?????目錄???????????0??2009-11-21?18:03??wceui\ARM\WinCE5.0\VS2008\
?????文件??????????50??2009-11-21?18:02??wceui\ARM\WinCE5.0\VS2008\ReadMe.txt
?????目錄???????????0??2009-12-01?15:32??wceui\ARM\Wince6.0\
?????目錄???????????0??2009-12-01?15:32??wceui\ARM\Wince6.0\VS20005\
?????目錄???????????0??2009-12-01?15:33??wceui\ARM\Wince6.0\VS20005\bin\
?????文件???????38400??2009-11-27?14:45??wceui\ARM\Wince6.0\VS20005\bin\WceUiDll.dll
?????目錄???????????0??2009-12-01?15:33??wceui\ARM\Wince6.0\VS20005\lib\
?????文件?????3915346??2009-12-12?16:34??wceui\ARM\Wince6.0\VS20005\lib\libWceUi_Dbg.lib
?????文件?????3719048??2009-12-12?16:33??wceui\ARM\Wince6.0\VS20005\lib\libWceUi_Rel.lib
?????文件????????1952??2009-11-27?14:45??wceui\ARM\Wince6.0\VS20005\lib\WceUiDll.lib
?????目錄???????????0??2009-11-21?18:55??wceui\demo\
?????目錄???????????0??2009-11-21?18:55??wceui\demo\win32\
?????目錄???????????0??2009-11-21?20:43??wceui\demo\win32\bin\
?????文件??????557056??2009-11-21?19:37??wceui\demo\win32\bin\AppPhoto.exe
?????目錄???????????0??2009-11-21?18:55??wceui\demo\win32\bin\exe_data\
?????目錄???????????0??2009-11-21?18:55??wceui\demo\win32\bin\exe_data\app_photo\
?????目錄???????????0??2009-11-21?18:55??wceui\demo\win32\bin\exe_data\app_photo\language\
?????文件?????????792??2009-11-05?11:28??wceui\demo\win32\bin\exe_data\app_photo\language\en-us.ini
?????文件??????????16??2009-10-02?11:14??wceui\demo\win32\bin\exe_data\app_photo\language\zh-cn.ini
............此處省略1148個文件信息
評論
共有 條評論