wince隱藏工作列與案頭表徵圖

來源:互聯網
上載者:User

=============================================================

標題:wince隱藏工作列與案頭表徵圖

摘要:

備忘:Windows CE 5.0

日期:2010.5.17

姓名:朱銘雷

=============================================================

       有的時候在系統啟動之後,不希望看到wince的案頭和工作列,也就是不希望使用者看到wince系統介面。這就要隱藏工作列,去除案頭的捷徑,以及輸出文本。

       如,現在案頭的情況

       (1隱藏工作列

       project.reg檔案中加入:

[HKEY_LOCAL_MACHINE/Software/Microsoft/Shell/AutoHide]

       @="1"

       (2去除“My Device(我的裝置)”“ Recycle Bin(資源回收筒)”捷徑

       shell.reg檔案中,注釋掉如下代碼:

[HKEY_LOCAL_MACHINE/Explorer/Desktop]

;"{000214A0-0000-0000-C000-000000000046}"="My Device"

;"{000214A1-0000-0000-C000-000000000046}"="Recycle Bin"

       (3去除“wordpad”捷徑

       wceappsfe.dat檔案中,注釋掉如下代碼:

;Directory("/Windows/LOC_DESKTOP_DIR"):-File("LOC_MSPWORD_LNK","/Windows/wordpad.lnk")

       (4去除“My Documents”捷徑

       wceappsfe.dat檔案中,注釋掉如下代碼:

;Directory("/Windows/LOC_DESKTOP_DIR"):-File("LOC_MYDOCUMENTS_LNK", "/Windows/mydocs.lnk")

(5去除“iexplore”捷徑

wceshellfe.dat檔案中,注釋掉如下代碼:

;Directory("/Windows/LOC_DESKTOP_DIR"):-File("LOC_INTERNETEXPLORER_LNK", "/Windows/iexplore.lnk")

       (6去除案頭上的有關wince版本的文本(Microsoft Windows CE...)

       /WINCE500/PUBLIC/SHELL/OAK/HPC/CESHELL/UI目錄下desktopview.cpp檔案中注釋掉如下代碼:

 #ifndef SHIP_BUILD

 // notears 2010.5.17

 /*  WCHAR wszVersion[256];

   OSVERSIONINFO VerInfo;

   VerInfo.dwOSVersionInfoSize = sizeof(OSVERSIONINFO);

 

   ::GetVersionEx(&VerInfo);

   ::wsprintf(wszVersion, L"Microsoft Windows CE v%d.%02d (Build %d on %s) ",

              VerInfo.dwMajorVersion, VerInfo.dwMinorVersion, VerInfo.dwBuildNumber, TEXT(__DATE__));

   if (m_hbmpDesktop && !fTileBackgroundImage)

   {

     rc.top = rcBlt.bottom + 5;

   }

   else

   {

     rc.top = rc.top + (rc.bottom - rc.top) / 2 - 8;

   }

   ::DrawText(hdc, wszVersion, -1, &rc, DT_SINGLELINE | DT_CENTER | DT_TOP);*/

   #endif

       重新燒寫NK,隱藏之後的效果

相關文章

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.