From: http://blog.csdn.net/joyzml/article/details/5601060
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 Server
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