========================================================== ==================================
Title: wince hide the taskbar and desktop icons
Abstract:
Note: Windows CE 5.0
Date: 2010.5.17
Name: Zhu minglei
========================================================== ==================================
Sometimes, after the system is started, you do not want to see the wince desktop and taskbar, that is, you do not want to see the wince system interface. This requires hiding the taskbar, removing Desktop shortcuts, and outputting text.
For example, the current desktop situation
(1)Hide taskbar
Add the following to the project. reg file:
[HKEY_LOCAL_MACHINE/software/Microsoft/Shell/autohide]
@ = "1"
(2)Remove the shortcut "My device" and "recycle bin"
In the shell. reg file, comment out the following code:
[HKEY_LOCAL_MACHINE/Explorer/desktop]
; "{000214A0-0000-0000-C000-000000000046}" = "My Device"
; "{000214A1-0000-0000-C000-000000000046}" = "Recycle Bin"
(3)Remove "wordpad" shortcuts
Comment out the following code in the wceappsfe. dat file:
; Directory ("/Windows/loc_shorttop_dir"):-File ("LOC_MSPWORD_LNK", "/Windows/wordpad. lnk ")
(4)Remove "My Documents" shortcuts
Comment out the following code in the wceappsfe. dat file:
; Directory ("/Windows/loc_shorttop_dir"):-File ("LOC_MYDOCUMENTS_LNK", "/Windows/mydocs. lnk ")
(5)Remove "iexplore" shortcuts
Comment out the following code in the wceshellfe. dat file:
; Directory ("/Windows/loc_shorttop_dir"):-File ("LOC_INTERNETEXPLORER_LNK", "/Windows/iexplore. lnk ")
(6)Remove the Windows CE (Microsoft Windows CE ...)
Comment out the following code in the comment topview. cpp file in the/WINCE500/PUBLIC/SHELL/OAK/HPC/CESHELL/UI directory:
# Ifndef SHIP_BUILD
// Notears 2010.5.17
/* WCHAR wszVersion [2, 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
Re-burn NK to hide the effect