Very useful post, thanks to the original author.
Http://blog.csdn.net/norains/archive/2006/04/25/677244.aspx
New article: WINCE Implementation of Direct Screen Writing (1)
// ================================================ ========================================================== ======================================
// AUTHOR:
// Norains
// DATE:
// Tuesday 25-0000l-2006
// ================================================ ========================================================== ======================================
1. Disable "my computer" and "recycle bin" on the desktop"
Delete the following key values:
[HKEY_LOCAL_MACHINE \ Explorer \ Desktop]
{000214A0-0000-0000-C000-000000000046}; "My Computer"
{000214A1-0000-0000-C000-000000000046}; Recycle Bin"
Files with these two key values are:
$ (_ WINCEROOT) \ PUBLIC \ SHELL \ OAK \ FILES \ shell. reg
$ (_ WINCEROOT) \ PUBLIC \ WCESHELLFE \ OAK \ FILES \ wceshellfe. reg
$ (_ WINCEROOT) \ PUBLIC \ WCESHELLFE \ OAK \ FILES \ wceshellfe88.reg
2. delete the file directly without returning it to the recycle bin.
[HKEY_LOCAL_MACHINE \ Explorer]
"UseRecycleBin" = dword: 0; Set 0 to delete directly; Set 1 to put in the recycle bin
3. modify the system interface color of the XP skin
If you select xp skin, you cannot change the color of some windows in the "show" option of the control panel. however, you can change $ (_ WINCEROOT) \ PUBLIC \ COMMON \ OAK \ FILES \ common. the XP color parameter in the reg file is used to change the window color.
The color parameters of the original XP style are as follows:
[HKEY_LOCAL_MACHINE \ SYSTEM \ GWE]
"SysColor" = hex :\
,\
3A, 6E, A5, 00 ,\
,\
,\
EF, EB, DE, 00 ,\
FF, 00 ,\
,\
,\
,\
FF, 00 ,\
C0, C0, C0, 00 ,\
C0, C0, C0, 00 ,\
80, 80, 80, 00 ,\
31,69, C6, 00 ,\
FF, 00 ,\
EF, EB, DE, 00 ,\
AD, AA, 9C, 00 ,\
80, 80, 80, 00 ,\
,\
,\
FF, 00 ,\
73, 6D, 63,00 ,\
FF, 00 ,\
,\
FF, FF, E1, 00 ,\
EF, EB, DE, 00 ,\
It means:
0 color_scrollbar color of the gray area of a scroll bar.
1 color_background background color of the desktop window.
2 color_activecaption color of the title bar of an active window.
3 color_inactivecaption color of the title bar of an inactive window.
4 color_menu background color of a menu.
5 color_window background color of a window.
6 color_windowframe color of a window frame.
7 color_menutext color of the text in a menu.
8 COLOR_WINDOWTEXT Color of the text in a window.
9 COLOR_CAPTIONTEXT Color of the text in a title bar and of the size box and scroll bar arrow box.
10 COLOR_ACTIVEBORDER Color of the border of an active window.
11 COLOR_INACTIVEBORDER Color of the border of an inactive window.
12 COLOR_APPWORKSPACE Background color of multiple document interface (MDI) applications.
13 COLOR_HIGHLIGHT Color of an item selected in a control.
14 COLOR_HIGHLIGHTTEXT Color of the text of an item selected in a control.
15 COLOR_BTNFACE Color of the face of a button.
16 COLOR_BTNSHADOW color of buttons for edges that face away from the light source.
17 COLOR_GRAYTEXT Color of shaded text. This color is set to 0 if the current display driver does not support a solid gray color.
18 COLOR_BTNTEXT Color of the text for push buttons.
19 COLOR_INACTIVECAPTIONTEXT Color of the text in the title bar of an inactive window.
20 COLOR_BTNHIGHLIGHT Highlight color of buttons for edges that face the light source.
21 COLOR_3DDKSHADOW Color of the dark shadow for three-dimen1_display elements.
22 COLOR_3DLIGHT Highlight color of three-dimen1_display elements for edges that face the light source.
23 COLOR_INFOTEXT Color of the text for ToolTip controls.
24 COLOR_INFOBK Background color for ToolTip controls.
25 COLOR_STATIC Background color for static controls and dialog boxes. Supported in Windows CE 2.0 and later.
26 COLOR_STATICTEXT Color of the text for static controls. Supported in Windows CE 2.0 and later.
27 COLOR_GRADIENTACTIVECAPTION Color of the title bar of an active window that is filled with a color gradient.
28 COLOR_GRADIENTINACTIVECAPTION
4. Folder ing change
Assume that you want to move the "desktop" folder from the root directory (in this case, the RAM space) to an external storage "harddisk", follow these steps:
1. set $ (_ winceroot) \ public \ common \ oak \ files \ intltrns \ 0804 \ common. change the loc_path_desktop macro definition in the STR file to "file: // harddisk // windows // desktop"
2. Then add "\ harddisk" to all the loc_shorttop_dir options in the. dat file before windows ",
For example, directory ("\ windows \ loc_shorttop_dir"):-file ("loc_internetexplorer_lnk", "\ windows \ iesample. lnk ")
Change to directory ("\ harddisk \ windows \ loc_shorttop_dir"):-file ("loc_internetexplorer_lnk", "\ windows \ iesample. lnk.
If you have created a folder, you also need to change it:
For example, root:-directory ("\ loc_programfiles_dir ")
Change to: Root:-directory ("harddisk \ loc_programfiles_dir ")