去改SHELL下的*。REG文件
桌面上的圖示 My Computer和 Recycle Bin是在shell下的shell.reg中,桌面上的IE圖示在IE下的ie.dat文件中,其他的大部分是在shell下的shell.dat 中,Media play圖示在directx中;
開始功能表和任務條的修改:
修改 \WINCE420\PUBLIC\SHELL\OAK\HPC\EXPLORER\TASKBAR 下的stmenu.cpp taskbar.cpp文件
1. stmenu.cpp static STMENUDATA const stmenuData[] = {// {IDM_START_PROGRAMS, IDS_MENUPROGRAMS, IDI_STPROGS, CSIDL_PROGRAMS, 0, 0, 0},// {IDM_START_FAVORITES, IDS_MENUFAVORITES, IDI_STFAVORITES, CSIDL_FAVORITES, 0, 0, 0},// {IDM_START_DOCUMENTS, IDS_MENUDOCUMENTS, IDI_STDOCS, CSIDL_RECENT, 0, 0, 0},// {IDM_START_SETTINGS, IDS_MENUSETTING, IDI_STSETNGS, STATIC_ITEM, 0, 0, 0},// {IDM_START_HELP, IDS_MENUHELP, IDI_STHELP, STATIC_ITEM, 0, 0, 0},// {IDM_START_RUN, IDS_MENURUN, IDI_STRUN, STATIC_ITEM, 0, 0, 0}, {0, IDS_NULL, 0, STATIC_ITEM, 0, 0, 0},// {IDM_START_SUSPEND, IDS_MENUSUSPEND, IDI_STSUSPD, STATIC_ITEM, 0, 0, 0},}; 將static STMENUDATA const stmenuData[] 定義坐如上修改
2.taskbar.cpp 將BOOL CTaskBar::Register(HINSTANCE hInstance)函數內容注釋掉,直接return TRUE;
3. Click PB Menu Build -> Open Build ReleaseDirectory,Select \WINCE420\PUBLIC\SHELL\OAK\HPC\EXPLORER\TASKBAR 下的 stmenu.cpp, taskbar.cpp
目錄,執行:
set wincedebug=retail
build /c
4.重新編譯平臺即可。