日韩性视频-久久久蜜桃-www中文字幕-在线中文字幕av-亚洲欧美一区二区三区四区-撸久久-香蕉视频一区-久久无码精品丰满人妻-国产高潮av-激情福利社-日韩av网址大全-国产精品久久999-日本五十路在线-性欧美在线-久久99精品波多结衣一区-男女午夜免费视频-黑人极品ⅴideos精品欧美棵-人人妻人人澡人人爽精品欧美一区-日韩一区在线看-欧美a级在线免费观看

歡迎訪問 生活随笔!

生活随笔

當前位置: 首頁 > 编程资源 > 编程问答 >内容正文

编程问答

WINCE注册表应用

發布時間:2025/4/5 编程问答 25 豆豆
生活随笔 收集整理的這篇文章主要介紹了 WINCE注册表应用 小編覺得挺不錯的,現在分享給大家,幫大家做個參考.

//=====================================================================================================
//AUTHOR:
//??norains
//DATE:
//??Tuesday? 25-April -2006
//=====================================================================================================

1.讓桌面不顯示"我的電腦","回收站"
??刪除以下鍵值:
??[HKEY_LOCAL_MACHINE/Explorer/Desktop]
??{000214A0-0000-0000-C000-000000000046}? ;"My Computer"
??{000214A1-0000-0000-C000-000000000046}? ;Recycle Bin"

??存在這兩個鍵值的文件有:
??$(_WINCEROOT)/PUBLIC/SHELL/OAK/FILES/shell.reg
??$(_WINCEROOT)/PUBLIC/WCESHELLFE/OAK/FILES/wceshellfe.reg
??$(_WINCEROOT)/PUBLIC/WCESHELLFE/OAK/FILES/wceshellfe88.reg


2.直接刪除文件,不放回回收站
??[HKEY_LOCAL_MACHINE/Explorer]
??"UseRecycleBin"=dword:0 ;設置0為直接刪除;設置1為放入回收站


3.修改XP皮膚的系統界面顏色
??如果選擇了XP SKIN,則在控制面板的"顯示"選項中是無法更改一些窗口的顏色的.不過,我們倒是可以通過更改$(_WINCEROOT)/PUBLIC/COMMON/OAK/FILES/common.reg文件中的XP顏色參數來達到更改窗口顏色的目的.
原XP樣式的顏色參數如下:
[HKEY_LOCAL_MACHINE/SYSTEM/GWE]
? "SysColor"=hex:/
?? 00,00,00,00,/
?? 3A,6E,A5,00,/
?? 00,00,00,00,/
?? 00,00,00,00,/
?? EF,EB,DE,00,/
?? FF,FF,FF,00,/
?? 00,00,00,00,/
?? 00,00,00,00,/
?? 00,00,00,00,/
?? FF,FF,FF,00,/
?? C0,C0,C0,00,/
?? C0,C0,C0,00,/
?? 80,80,80,00,/
?? 31,69,C6,00,/
?? FF,FF,FF,00,/
?? EF,EB,DE,00,/
?? AD,AA,9C,00,/
?? 80,80,80,00,/
?? 00,00,00,00,/
?? 00,00,00,00,/
?? FF,FF,FF,00,/
?? 73,6D,63,00,/
?? FF,FF,FF,00,/
?? 00,00,00,00,/
?? FF,FF,E1,00,/
?? EF,EB,DE,00,/
?? 00,00,00,00??
??
??代表的意思是:
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 ???????Shadow 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-dimensional display elements.
22 COLOR_3DLIGHT ????????Highlight color of three-dimensional 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.文件夾映射更改
??假設我們要將"桌面"文件夾從根目錄(在這里指的是RAM空間)移動到某個外部儲存器"HardDisk"中,可以按如下步驟:
??1.將$(_WINCEROOT)/PUBLIC/COMMON/OAK/FILES/INTLTRNS/0804/common.str文件中的LOC_PATH_DESKTOP宏定義改為"//HardDisk//Windows//桌面"
??2.然后將所有.dat文件中關于LOC_DESKTOP_DIR的選項,全部在windows前添加"/HardDisk",
???如:Directory("/Windows/LOC_DESKTOP_DIR"):-File("LOC_INTERNETEXPLORER_LNK", "/Windows/iesample.lnk")
???改為:Directory("/HardDisk/Windows/LOC_DESKTOP_DIR"):-File("LOC_INTERNETEXPLORER_LNK", "/Windows/iesample.lnk")即可.
???
???如果有創建文件夾的話,也要改:
???如:root:-Directory("/LOC_PROGRAMFILES_DIR")
???改為:root:-Directory("HardDisk/LOC_PROGRAMFILES_DIR")

轉載于:https://www.cnblogs.com/wodeyitian/archive/2006/04/25/2460567.html

《新程序員》:云原生和全面數字化實踐50位技術專家共同創作,文字、視頻、音頻交互閱讀

總結

以上是生活随笔為你收集整理的WINCE注册表应用的全部內容,希望文章能夠幫你解決所遇到的問題。

如果覺得生活随笔網站內容還不錯,歡迎將生活随笔推薦給好友。