Wince hide the taskbar and remove the desktop icon shortcut

Source: Internet
Author: User

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

 

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

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.