From: http://www.hzlitai.com.cn/article/ARM9-article/system/1704.html
The wince wallpaper is set in the registry. After the wince project is compiled, all contents in the reg file will be merged into the reginit. ini file. Open the file and find the following content:
[HKEY_CURRENT_USER/controlpanel/desktop]
"Wallpaper" = // windows // windowsce.bmp
Contains two files. Take a look at the definitions in the/wince600/public/Shell/files/shell. bib file.
To put it bluntly, changing the wallpaper is to change the registry settings. The simplest method is to modify the project. bib and project. Reg files. First, add the following content to the project. bib file:
Kungfupanda.bmp D:/wince600/osdesigns/emulator/reldir/deviceemulator_armv4i_release/wall.bmp NK s
Add the following content to the project. reg file:
[HKEY_CURRENT_USER/controlpanel/desktop]
"Wallpaper" = "// windows // kungfupanda.bmp"
Finally, copy the two files to the project-compiled release directory and re-makeimg. After wince is started, we can see that the wallpaper has been replaced, and the "My device" and "recycle bin" on the desktop can also be seen ", now I want to change their icons and names. Of course, I need to start with the Registry. The related registry configuration is as follows:
; Drives (my device)
[Hkey_classes_root/CLSID/{000214a0-0000-0000-c000-000000000046}]
& Quot; displayname & quot; = mui_sz: & quot; ceshell. dll, #20482 & quot"
"Defaulticon" = "// windows // ceshell. dll,-4354"
[Hkey_classes_root/CLSID/{000214a0-0000-0000-c000-000000000046}/inprocserver32]
@ = "// Windows // ceshell. dll"
; Recycle Bin (Bitbucket)
[Hkey_classes_root/CLSID/{000214a1-0000-0000-c000-000000000046}]
& Quot; displayname & quot; = mui_sz: & quot; ceshell. dll, #20481 & quot"
"Defaulticon" = "// windows // ceshell. dll,-4352"
"Alticon" = "// windows // ceshell. dll,-4355"
[Hkey_classes_root/CLSID/{000214a1-0000-0000-c000-000000000046}/inprocserver32]
@ = "// Windows // ceshell. dll"
A brief explanation:
"Displayname": Name displayed. The name is from the resource in ceshell. dll. The resource ID of my device is20482, The resource ID of recycle bin is20481.
"Defaulticon": The displayed icon. the icon is from the resource in ceshell. dll. The resource ID of the my device icon is4354, The resource ID of the recycle bin icon is4352.
"Alticon": Indicates the icon in the recycle bin when something exists. We all know that when the recycle bin is empty and there is something, the icon display is different. This icon resource comes from ceshell. DLL icon resource, ID:4355.
Actually, they all come from ceshell. DLL resource file. You need to check the resource in the/wince600/public/Shell/oak/HPC/ceshell/UI directory. H and ceshui_base.rc files in resource. h:
# Define ids_display_recyclebin 0x5001 // 20481
# Define ids_display_drives 0x5002 // 20482
# Define idi_bitbucket 0x1100 // 4352
# Define idi_bitbucket_full 0x1103 // 4355
# Define idi_mycomputer 0x1102 // 4354
These are the definitions of ID resources. You can find the corresponding resources in cehui_base.rc as follows:
Ids_display_recyclebin "recycle bin"
Ids_display_drives "My device"
Idi_bitbucket icon discardable "res // Bitbucket. ICO"
Idi_bitbucket_full icon discardable "res // bitbucket_full.ico"
Idi_mycomputer icon discardable "res // mycomputer. ICO"
If you want to change the icon or change the name, modify cehui_base.rc. First, copy your own icon to the/wince600/public/Shell/oak/HPC/ceshell/UI/RES directory, and then in resource. h defines several new IDs. In cehui_base.rc, the newly defined IDs are associated with the corresponding icons or names.
Next, open the project. reg file of the project and add the following content:
; Drives (my device)
[Hkey_classes_root/CLSID/{000214a0-0000-0000-c000-000000000046}]
& Quot; displayname & quot; = mui_sz: & quot; ceshell. dll, #20736 & quot"
"Defaulticon" = "// windows // ceshell. dll,-4624"
[Hkey_classes_root/CLSID/{000214a0-0000-0000-c000-000000000046}/inprocserver32]
@ = "// Windows // ceshell. dll"
; Recycle Bin (Bitbucket)
[Hkey_classes_root/CLSID/{000214a1-0000-0000-c000-000000000046}]
& Quot; displayname & quot; = mui_sz: & quot; ceshell. dll, #20737 & quot"
"Defaulticon" = "// windows // ceshell. dll,-4625"
"Alticon" = "// windows // ceshell. dll,-4355"
[Hkey_classes_root/CLSID/{000214a1-0000-0000-c000-000000000046}/inprocserver32]
@ = "// Windows // ceshell. dll"
These configurations are used to modify the display name and icon, mainly to modify the resource ID in ceshell. dll.
Open the command line window of the project, switch to the/wince600/public/Shell/oak/HPC/ceshell directory, run build to compile, and then re-compile the wince project.
After the final compilation, run wince to view the wallpaper and my device and recycle.
The bin name and icon are replaced.
I changed my device to root, recycle bin to box, And the wallpaper to Kung Fu Panda. It looks pretty good.
From: http://www.hzlitai.com.cn/article/ARM9-article/system/1704.html
The wince wallpaper is set in the registry. After the wince project is compiled, all contents in the reg file will be merged into the reginit. ini file. Open the file and find the following content:
[HKEY_CURRENT_USER/controlpanel/desktop]
"Wallpaper" = // windows // windowsce.bmp
Contains two files. Take a look at the definitions in the/wince600/public/Shell/files/shell. bib file.
To put it bluntly, changing the wallpaper is to change the registry settings. The simplest method is to modify the project. bib and project. Reg files. First, add the following content to the project. bib file:
Kungfupanda.bmp D:/wince600/osdesigns/emulator/reldir/deviceemulator_armv4i_release/wall.bmp NK s
Add the following content to the project. reg file:
[HKEY_CURRENT_USER/controlpanel/desktop]
"Wallpaper" = "// windows // kungfupanda.bmp"
Finally, copy the two files to the project-compiled release directory and re-makeimg. After wince is started, we can see that the wallpaper has been replaced, and the "My device" and "recycle bin" on the desktop can also be seen ", now I want to change their icons and names. Of course, I need to start with the Registry. The related registry configuration is as follows:
; Drives (my device)
[Hkey_classes_root/CLSID/{000214a0-0000-0000-c000-000000000046}]
& Quot; displayname & quot; = mui_sz: & quot; ceshell. dll, #20482 & quot"
"Defaulticon" = "// windows // ceshell. dll,-4354"
[Hkey_classes_root/CLSID/{000214a0-0000-0000-c000-000000000046}/inprocserver32]
@ = "// Windows // ceshell. dll"
; Recycle Bin (Bitbucket)
[Hkey_classes_root/CLSID/{000214a1-0000-0000-c000-000000000046}]
& Quot; displayname & quot; = mui_sz: & quot; ceshell. dll, #20481 & quot"
"Defaulticon" = "// windows // ceshell. dll,-4352"
"Alticon" = "// windows // ceshell. dll,-4355"
[Hkey_classes_root/CLSID/{000214a1-0000-0000-c000-000000000046}/inprocserver32]
@ = "// Windows // ceshell. dll"
A brief explanation:
"Displayname": Name displayed. The name is from the resource in ceshell. dll. The resource ID of my device is20482, The resource ID of recycle bin is20481.
"Defaulticon": The displayed icon. the icon is from the resource in ceshell. dll. The resource ID of the my device icon is4354, The resource ID of the recycle bin icon is4352.
"Alticon": Indicates the icon in the recycle bin when something exists. We all know that when the recycle bin is empty and there is something, the icon display is different. This icon resource comes from ceshell. DLL icon resource, ID:4355.
Actually, they all come from ceshell. DLL resource file. You need to check the resource in the/wince600/public/Shell/oak/HPC/ceshell/UI directory. H and ceshui_base.rc files in resource. h:
# Define ids_display_recyclebin 0x5001 // 20481
# Define ids_display_drives 0x5002 // 20482
# Define idi_bitbucket 0x1100 // 4352
# Define idi_bitbucket_full 0x1103 // 4355
# Define idi_mycomputer 0x1102 // 4354
These are the definitions of ID resources. You can find the corresponding resources in cehui_base.rc as follows:
Ids_display_recyclebin "recycle bin"
Ids_display_drives "My device"
Idi_bitbucket icon discardable "res // Bitbucket. ICO"
Idi_bitbucket_full icon discardable "res // bitbucket_full.ico"
Idi_mycomputer icon discardable "res // mycomputer. ICO"
If you want to change the icon or change the name, modify cehui_base.rc. First, copy your own icon to the/wince600/public/Shell/oak/HPC/ceshell/UI/RES directory, and then in resource. h defines several new IDs. In cehui_base.rc, the newly defined IDs are associated with the corresponding icons or names.
Next, open the project. reg file of the project and add the following content:
; Drives (my device)
[Hkey_classes_root/CLSID/{000214a0-0000-0000-c000-000000000046}]
& Quot; displayname & quot; = mui_sz: & quot; ceshell. dll, #20736 & quot"
"Defaulticon" = "// windows // ceshell. dll,-4624"
[Hkey_classes_root/CLSID/{000214a0-0000-0000-c000-000000000046}/inprocserver32]
@ = "// Windows // ceshell. dll"
; Recycle Bin (Bitbucket)
[Hkey_classes_root/CLSID/{000214a1-0000-0000-c000-000000000046}]
& Quot; displayname & quot; = mui_sz: & quot; ceshell. dll, #20737 & quot"
"Defaulticon" = "// windows // ceshell. dll,-4625"
"Alticon" = "// windows // ceshell. dll,-4355"
[Hkey_classes_root/CLSID/{000214a1-0000-0000-c000-000000000046}/inprocserver32]
@ = "// Windows // ceshell. dll"
These configurations are used to modify the display name and icon, mainly to modify the resource ID in ceshell. dll.
Open the command line window of the project, switch to the/wince600/public/Shell/oak/HPC/ceshell directory, run build to compile, and then re-compile the wince project.
After the final compilation, run wince to view the wallpaper and my device and recycle.
The bin name and icon are replaced.
I changed my device to root, recycle bin to box, And the wallpaper to Kung Fu Panda. It looks pretty good.