Map iconen - Windows Mobile

hi all.
This question has already been put down but can not find the answer
Add a folder icon. mean the extra folder, multimedia calls etc
I use os kitchen. I should like the standard icons for use, but can not find them.
greatz
Rudie

You mean you want to add an extra folder like "GPS" in your startmenu and add an icon to it?
This is my entry in initflashfiles:
;Append dat file...
;***PROJECTDEFAULT_A***
Directory("\Windows\Startmenu\Programma's"):-Directory("Extra")
Directory("\Windows\Startmenu\Programma's"):-Directory("Multimedia")
Directory("\Windows\Startmenu\Programma's"):-Directory("Berichten")
Directory("\Windows\Startmenu\Programma's"):-Directory("Oproep")
Directory("\Windows\Startmenu\Programma's"):-Directory("Data")
Directory("\Windows\Startmenu\Programma's"):-Directory("GPS")
And this is the registry entry i use while cooking:
[HKEY_LOCAL_MACHINE\Security\Shell\StartInfo\Start\Berichten]
"Group"=dword:1
"Icon"="\\Windows\\HTC_messaging.png"
"Rank"=dword:FFFFFFFF
[HKEY_LOCAL_MACHINE\Security\Shell\StartInfo\Start\Extra]
"Group"=dword:1
"Icon"="\\Windows\\HTC_tools.png"
"Rank"=dword:FFFFFFFF
[HKEY_LOCAL_MACHINE\Security\Shell\StartInfo\Start\Data]
"Group"=dword:1
"Icon"="\\Windows\\HTC_office_tools.png"
"Rank"=dword:FFFFFFFF
[HKEY_LOCAL_MACHINE\Security\Shell\StartInfo\Start\Multimedia]
"Group"=dword:1
"Icon"="\\Windows\\HTC_multimedia.png"
"Rank"=dword:FFFFFFFF
[HKEY_LOCAL_MACHINE\Security\Shell\StartInfo\Start\Oproep]
"Group"=dword:1
"Icon"="\\Windows\\HTC_calls.png"
"Rank"=dword:FFFFFFFF
[HKEY_LOCAL_MACHINE\Security\Shell\StartInfo\Start\GPS]
"Group"=dword:1
"Icon"="\\Windows\\HTC_gps.png"
"Rank"=dword:FFFFFFFF
Where the "GPS" folder is the one i've added to my startmenu.
As you can see the folder icons are located in the folder PROJECTDEFAULT_A in OEM
Hope this helps.

Check the sticky mate, there are all the answers that you need.
http://forum.xda-developers.com/showthread.php?t=664109

Related

shortcut for remove programs

How to make a shortcut for remove programs ? any one can help ?
furiardy said:
How to make a shortcut for remove programs ? any one can help ?
Click to expand...
Click to collapse
Euuhmmm can that also be files... cause I'm looking for a solution to delete/remove files after startup
remove programs cpl
furiardy said:
How to make a shortcut for remove programs ? any one can help ?
Click to expand...
Click to collapse
Settings>System>Remove Programs = 21#ctlpnl cplmain.cpl,10
more infos see this thread
petervbeck said:
Settings>System>Remove Programs = 21#ctlpnl cplmain.cpl,10
more infos see this thread
Click to expand...
Click to collapse
I've done it.
A long time ago.
Use TrayLaunch to embed it to Today tray as pic.
I see Settings>System>Remove Programs = 21#ctlpnl cplmain.cpl,10
but how?can i use resco explorer ?
furiardy said:
I see Settings>System>Remove Programs = 21#ctlpnl cplmain.cpl,10
but how?can i use resco explorer ?
Click to expand...
Click to collapse
You can use Total Commander to copy any .lnk file to a temporary folder, edit the name of the link to "anythingyoulike.lnk"
After that, you can use a file editor (Total commander has one) to edit the content of the .lnk to show 21#ctlpnl cplmain.cpl,10 and save.
Move the link to the place you want it to show: tray, drop down menu or using a software to show application on Today screen.
All the best.
1. copy the string between the dotted lines (not including the lines) to your notepad
2. save it as Remove Programs.lnk
3. move the link to your ppc-- windows\Start Menu\Program Files
--------------------------------
ctlpnl cplmain.cpl,10?shellres.dll,-13943
--------------------------------
Note:
1. by doing this, you'll have a shortcut with the native icon for Remove Programs
2. try "shortcut creator" if you prefer some other icons
Thanks Guys.
Thank you wovens and iiiox, it was a combination of you both that helped me. 21#ctlpnl cplmain.cpl,10?shellres.dll,-13943 is the string that worked for me. I'm happy now, although I got a basic icon and not the custom one I thought I was gonna have. Check out the pics of the 2 icons below. I must have the 'remove programs' icon next to 'file manager'. It's like addition and subtraction. I never could find the original ink file using Activesync. I just ended up editing another ink with total commander. Is there anyway to change the icon?
The part ?shellres.dll,-13943 tells it the icon to use. Most likely the one you show is actually a png image that is used by the new start menu system for icons.
You can use other programs icons as in ?\windows\myprogram.exe,23 would use the icon numbered 23 in you program called myprogram.exe
I have heard of people creating their own dll files to contain icons they want.
RoryB said:
The part ?shellres.dll,-13943 tells it the icon to use. Most likely the one you show is actually a png image that is used by the new start menu system for icons.
You can use other programs icons as in ?\windows\myprogram.exe,23 would use the icon numbered 23 in you program called myprogram.exe
I have heard of people creating their own dll files to contain icons they want.
Click to expand...
Click to collapse
I'm using Energy rom so I figured it was part of it's customization. I'm not sure I understand the example you have given, but I have tried unsuccessfully to locate the wanted icon. Also, I'm clueless about creating dll. Thanks anyway RoryB. Maybe if I stare at it long enough, it will start to make sense to me.
didn't work for me plz help

shellres and foldericons

How can I extract the values from the shellres.dll for the included icons for use with icon.lnk like 1#shellres.dll,-8229 for the gamefolder?
Karsten

[Problem] Set icons in start menu

Hi,
I´ve got an issue that i can´t set an icon to task manager and messages in start menu/settings/System. See the pic below. I use a cab file to apply these icons.
i just make a pkg with my reg entries and pics i want to use at the end of my kitchen. open up your reg with reg editor and see if it looks like this...
Code:
[HKEY_LOCAL_MACHINE\Security\Shell\StartInfo\Start\Settings\cplmain.cpl,1]
"Rank"=dword:000002BC
"Icon"="[COLOR="Red"]\\[/COLOR]Windows[COLOR="Red"]\\[/COLOR]Start_Icon_Lock.png"
notice the \\, it must be that way in registry...a single "\" wont work. also you could try assigning rank, but i dont really think that is necessary for the pic to show.
twopumpchump said:
i just make a pkg with my reg entries and pics i want to use at the end of my kitchen. open up your reg with reg editor and see if it looks like this...
Code:
[HKEY_LOCAL_MACHINE\Security\Shell\StartInfo\Start\Settings\cplmain.cpl,1]
"Rank"=dword:000002BC
"Icon"="[COLOR="Red"]\\[/COLOR]Windows[COLOR="Red"]\\[/COLOR]Start_Icon_Lock.png"
notice the \\, it must be that way in registry...a single "\" wont work. also you could try assigning rank, but i dont really think that is necessary for the pic to show.
Click to expand...
Click to collapse
Thanks for the tip. I made an OEM of my cab to make it easer. This is what reg i have for the task manager, but it dosnt work.
Code:
[HKEY_LOCAL_MACHINE\Security\Shell\StartInfo\Start\Settings\System\cplmain.cpl,30]
"Icon"="\\Windows\\Start_Icon_TaskMgr.png"
EDIT: Btw, how is rank determined? Dont really understand what ""Rank"=dword:000002BC" means..
I'm a noobie so forgive me if I make any mistakes.
But... Try adding some "zzz"s before the package to make it run at the end of the build process. If it still doesn't work, search inside all files (most probably the .provxml files) in your kitchen folder for "Task Manager.lnk" and see if another file is assigning a different icon to it. I use EVK's built in search engine to do jobs like that.
I hope I helped
EDIT: About Rank, icons are ordered from highest to lowest rank values in the start menu. I think "000002BC" is a hex value for the normal integer value that the rank is set to.
EDIT2: WOW! Awesome icons! Did you make them?
seeM_ZA said:
I'm a noobie so forgive me if I make any mistakes.
But... Try adding some "zzz"s before the package to make it run at the end of the build process. If it still doesn't work, search inside all files (most probably the .provxml files) in your kitchen folder for "Task Manager.lnk" and see if another file is assigning a different icon to it. I use EVK's built in search engine to do jobs like that.
I hope I helped
EDIT: About Rank, icons are ordered from highest to lowest rank values in the start menu. I think "000002BC" is a hex value for the normal integer value that the rank is set to.
EDIT2: WOW! Awesome icons! Did you make them?
Click to expand...
Click to collapse
Thanks for the tip. I have the folder to run last in customization. I understand thats its some sort of hex value or whatever, but i dont understand it so i can place the icons where i want them.
The icons are made by dlink ithink.
2BC = 700. The rankings go from 0-999, and most are higher, which is why that one appears on the low side. The easiest thing is to just arrange everything on the phone (drag and drop), then export the entire start menu registry key and just put that into your start menu EXT. I'm not sure exactly how the values vary left to right and top to down.
I heard somewhere that the built in start menu 'drag n drop' messes with the ranks? I'm probably wrong though
I believe the ranks go in this order.. 1 being highest, 8 being lowest. Please correct me if I'm wrong. I hope NRG doesn't mind me butchering his start menu with my awesome paint skills
Hey... i dont think you are patching and i dont think you are trsut sign the cab... or making the image PNG...
but if you are "cooking" you dont need the cab... just make an EXT PKG with the icons ins the "file" folder... and the REGS in "app.reg" file making the path to the image, if you are patching you must to set the image as "read only" simple slash and be sure that CPL is teh correct one... and for the New TEXTMesage be sure you are using the path to.. tmail.exe i couldnt give you my EXT PKG with the paths cause im not in my home right now
+ Que PPC said:
Hey... i dont think you are patching and i dont think you are trsut sign the cab... or making the image PNG...
but if you are "cooking" you dont need the cab... just make an EXT PKG with the icons ins the "file" folder... and the REGS in "app.reg" file making the path to the image, if you are patching you must to set the image as "read only" simple slash and be sure that CPL is teh correct one... and for the New TEXTMesage be sure you are using the path to.. tmail.exe i couldnt give you my EXT PKG with the paths cause im not in my home right now
Click to expand...
Click to collapse
Thanks for the help + Que PPC. The PNG is ok as it works in start menu. Btw, i made a package, instead of an cab. Much simpler to edit. What is the correct CPL for task manager in start menu/setting/System?
I have no clue on CPL or how to determine posistion
Ok i have the stock image for Taskmanager in my startmenu in position #24
Hex = 35A4EBEC
DEC = 900000748
So it seems that in the strat menu you can rank the icons as you want... by this 100 to 900 valu but in settings and for CPL icons the thing is.. they are arranged authomatically by name
(look at the attached image)
and this is the reg for cpl 30
Just this string in: Start menu settings system screen[HKEY_LOCAL_MACHINE\Security\Shell\StartInfo\Start\Settings\System\cplmain.cpl,30]
String value named Icon
with this: \Windows\Start_Icon_TaskMgr.png
BEsure there is the image in windows folder
so... in your EXT pkg it must be like this:
Code:
REGEDIT4
[HKEY_LOCAL_MACHINE\Security\Shell\StartInfo\Start\Task Manager.lnk]
"Rank"=dword:35A4EBEC
"Icon"="\Windows\Start_Icon_TaskMgr.png"
[HKEY_LOCAL_MACHINE\Security\Shell\StartInfo\Start\Settings\System\cplmain.cpl,30]
"Icon"="\Windows\Start_Icon_TaskMgr.png"
+ Que PPC said:
Ok i have the stock image for Taskmanager in my startmenu in position #24
Hex = 35A4EBEC
DEC = 900000748
So it seems that in the strat menu you can rank the icons as you want... by this 100 to 900 valu but in settings and for CPL icons the thing is.. they are arranged authomatically by name
(look at the attached image)
and this is the reg for cpl 30
Just this string in: Start menu settings system screen[HKEY_LOCAL_MACHINE\Security\Shell\StartInfo\Start\Settings\System\cplmain.cpl,30]
String value named Icon
with this: \Windows\Start_Icon_TaskMgr.png
BEsure there is the image in windows folder
so... in your EXT pkg it must be like this:
Code:
REGEDIT4
[HKEY_LOCAL_MACHINE\Security\Shell\StartInfo\Start\Task Manager.lnk]
"Rank"=dword:35A4EBEC
"Icon"="\Windows\Start_Icon_TaskMgr.png"
[HKEY_LOCAL_MACHINE\Security\Shell\StartInfo\Start\Settings\System\cplmain.cpl,30]
"Icon"="\Windows\Start_Icon_TaskMgr.png"
Click to expand...
Click to collapse
Only need to learn hex editing to position the icons then
I´ve tried theese, but none of them works.
Code:
[HKEY_LOCAL_MACHINE\Security\Shell\StartInfo\Start\Settings\System\cplmain.cpl,30]
"Icon"="\Windows\Start_Icon_TaskMgr.png"
Code:
[HKEY_LOCAL_MACHINE\Security\Shell\StartInfo\Start\Settings\System\cplmain.cpl,30]
"Icon"="\\Windows\\Start_Icon_TaskMgr.png"
easyst way - works great in build 23112
hello,
1. hardcodec-items
the easyst way to change the icon, is to going in the sys folder to the directory
\SYS\23112\dpi_192\COMMON\Base_DPI_192\
you find all hardcoded items in this directory (e.g. start_icon_*.png)
give your new icons the same name in your ext directory (oem)
2. customize icons
only what you need to customize icon is the following reg-keys
[HKEY_LOCAL_MACHINE\Security\Shell\StartInfo\Start\Task Manager.lnk]
"Icon"="\\Windows\\Start_Icon_Task Manager.png"
-> this key replace the "task manager.lnk" icon in the root of the startmenue
[HKEY_LOCAL_MACHINE\Security\Shell\StartInfo\Start\Office\Notizen.lnk]
"Icon"="\\Windows\\Start_Icon_Office_Notizen.png"
-> this key replace the "notizen.lnk" (like notice in english) icon in the customize directory "order" in the startmenue
so when you need no ranking is the simplest and fastest wayy i can explain to you...
everal said:
hello,
1. hardcodec-items
the easyst way to change the icon, is to going in the sys folder to the directory
\SYS\23112\dpi_192\COMMON\Base_DPI_192\
you find all hardcoded items in this directory (e.g. start_icon_*.png)
give your new icons the same name in your ext directory (oem)
2. customize icons
only what you need to customize icon is the following reg-keys
[HKEY_LOCAL_MACHINE\Security\Shell\StartInfo\Start\Task Manager.lnk]
"Icon"="\\Windows\\Start_Icon_Task Manager.png"
-> this key replace the "task manager.lnk" icon in the root of the startmenue
[HKEY_LOCAL_MACHINE\Security\Shell\StartInfo\Start\Office\Notizen.lnk]
"Icon"="\\Windows\\Start_Icon_Office_Notizen.png"
-> this key replace the "notizen.lnk" (like notice in english) icon in the customize directory "order" in the startmenue
so when you need no ranking is the simplest and fastest wayy i can explain to you...
Click to expand...
Click to collapse
- I can confirm that this works fine.
- However, this is good for lnk that have direct entry under [HKEY_LOCAL_MACHINE\Security\Shell\StartInfo\Start]. But how to know which cpl index refers to which setting/program shortcut?
everal said:
hello,
1. hardcodec-items
the easyst way to change the icon, is to going in the sys folder to the directory
\SYS\23112\dpi_192\COMMON\Base_DPI_192\
you find all hardcoded items in this directory (e.g. start_icon_*.png)
give your new icons the same name in your ext directory (oem)
2. customize icons
only what you need to customize icon is the following reg-keys
[HKEY_LOCAL_MACHINE\Security\Shell\StartInfo\Start\Task Manager.lnk]
"Icon"="\\Windows\\Start_Icon_Task Manager.png"
-> this key replace the "task manager.lnk" icon in the root of the startmenue
[HKEY_LOCAL_MACHINE\Security\Shell\StartInfo\Start\Office\Notizen.lnk]
"Icon"="\\Windows\\Start_Icon_Office_Notizen.png"
-> this key replace the "notizen.lnk" (like notice in english) icon in the customize directory "order" in the startmenue
so when you need no ranking is the simplest and fastest wayy i can explain to you...
Click to expand...
Click to collapse
The thing is that i dont get the icon that is in SYS, i get the on in the exe. Would not matter if i change it.
Very true i can confirm that... the CPL images for icons in settings system cant be changed... maybe is due to another reg or .ico or other kind of file in oem
+ Que PPC said:
Very true i can confirm that... the CPL images for icons in settings system cant be changed... maybe is due to another reg or .ico or other kind of file in oem
Click to expand...
Click to collapse
Could be.. Probably. I sure hope not
You should convert the rgu files to xml files.
XML always run after the RGU, So its better to use when making custom modification.
http://forum.xda-developers.com/showthread.php?t=369457 (second post)
Th e cpl's are loaded in a provxml in the oem folder (don't remember which one off the top of my head). If it's messing with desired settings, rather than loading another provxml during first boot, and slowing down first boot even more, it's better to either edit or delete the oem provxml. Personally, I'd delete it and then put your start info in an app.reg in an EXT that runs near the end of the build.
Edit: the provxml with all of the cpl's is mxip_HtcApps_translation.provxml, and it's in oem-lang 0409. It's a complete waste to run this thing, imo. Just put it in an app.reg and you'll get a faster first boot.
Sorry but for change icon position in start menu, cant you do it just from start menu moving that icon and then go to the right reg key and export it?
This work for Kaiser dunno if Leo,Tp2 or Topaz has different way.
hi fellow chefs
i post my question here as i thought it would be better then openijng a new thread for it
i keep marketplace in my rom but i cant set it to the internet folder
i have looked in the initflash.dat and there is nothing there about marketplace(at least not that i could find)
i have looked in the sys map from market place and found a provxml
i changed it there the same way i did for taskmanager and it still doesnt work(for taskmaanger it works)
can some one help me out where or what i need to edit to have marketplace in internet folder
i attache my provxml so you can see what i have done

[Solved] How can i make an EXT Package create a shortcut in the start menu?

The file i want to add to the start menu is /windows/ProFuze KB Settings.lnk
The folder inside the start menu is /Windows/Start Menu/Programs/Tools/ProFuze KB Settings.lnk
I cant seem to get the .lnk file to copy into the Start menu folder
How can i edit this? What file should i go to to edit this? (isnt it initflashfiles.txt?)
EcoROMchef said:
The file i want to add to the start menu is /windows/ProFuze KB Settings.lnk
The folder inside the start menu is /Windows/Start Menu/Programs/Tools/ProFuze KB Settings.lnk
I cant seem to get the .lnk file to copy into the Start menu folder
How can i edit this? What file should i go to to edit this? (isnt it initflashfiles.txt?)
Click to expand...
Click to collapse
You can either put it in initflashfiles.dat, or in an app.dat inside the EXT itself
It should like this in both cases:
Directory("\Windows\Start Menu\Programs\Tools"):-File("ProFuze KB Settings.lnk","\Windows\ProFuze KB Settings.lnk")
Look at initflashfiles.dat, and see how the shortcuts are copied to the start menu (and other places, like startup). Then, do the same thing with your shortcut. If you want to put it in an EXT, then put the command into an app.dat file.
Just copy/paste a random shortcut command from the initflashfiles.dat, and change the link name as well as the folder you want to send it to. If it's a new start menu sub-folder, you need to create the directory. Look in initflashfiles again, and you'll see how to do it. I could tell you exactly what to write, but I'm not going to. You need to figure it out yourself (someone else is probably just going to write it for you, anyway, but I'm not, lol).
Farmer Ted said:
(someone else is probably just going to write it for you).
Click to expand...
Click to collapse
Wow Jedi Master, have the lotto numbers perhaps?

[SOLVED] Install Cabs in Config.txt, Then Auto-Delete Shortcut.lnk files?

I have cabs set to autoinstall in my config_ap.txt, but they also automatically create shortcut icons in the start menu which I dont want there; I would just load them in as EXTs except the programs have a few bugs that way.
Is there a way to install cabs via config.txt and in the same file delete the shortcut icons? Or is there some other way to force an autodelete of those Start Menu Icon shortcuts after the cab installs?
venomshot629 said:
I have cabs set to autoinstall in my config_ap.txt, but they also automatically create shortcut icons in the start menu which I dont want there; I would just load them in as EXTs except the programs have a few bugs that way.
Is there a way to install cabs via config.txt and in the same file delete the shortcut icons? Or is there some other way to force an autodelete of those Start Menu Icon shortcuts after the cab installs?
Click to expand...
Click to collapse
Yes, it is possible. I use Mortscript to remove/move shortcuts.
Entries in config.txt
Code:
LOCK:Enabled
LOCK:Disabled
CAB: \windows\xxxxxxx.cab
EXEC:\Windows\[B]DelReglnk.mscr[/B]
Entries in DelReglnk.mscr:
Code:
Delete ("\Windows\Start Menu\Programs\yyyyyyy.lnk")
i just create and package folder in EXT of kitchen and drop config.txt, mortscript file and the cab in the "files" folder
Either use the mortscript method, or better yet, edit the cabs and put the shortcuts where you want them.
Farmer Ted said:
Either use the mortscript method, or better yet, edit the cabs and put the shortcuts where you want them.
Click to expand...
Click to collapse
^
|
|
This.
Edit the cab and remove the icon or point it to a new path.
Farmer Ted said:
Either use the mortscript method, or better yet, edit the cabs and put the shortcuts where you want them.
Click to expand...
Click to collapse
Thanks to all. Ted, I ended up getting WinCE Cab Manager and deleting the shortcuts from the cabs.
Thanks everyone.

Categories

Resources