[Windows Mobile Apps and Games] Z80-Man:
Yes, it could be a nice alternative,I'll test it. :)

About the HD2, the fix consists in a CAB containing a single file : HTCVolumeControl.dll.

When you install it, it just... Brings back the old fashioned WM volume, along with an ugly flat white speaker icon on the taskbar ! :D

Well, of course, VolDpad works, then. :p

Still can't choose between what's best for me. ;)

Now let's talk about something I've been wondering, so I put my hands it he registry as usual, and got some interesting, but uncomplete resuts...

Your new switch works really well, but it has to be used in a quicklink.

Since we have 8 switches setup as widgets on CHT2.0 default layout and I found handy to group all switches there instead of having them mixed with programs icons, I tried to place your switch there... And finally partially succeeded. :p

I actually understood the way Co0kie places elements on the screen, after having studied the way the other widgets were defined.

To start with, all the widgets and quicklinks are stored in the [HKEY_LOCAL_MACHINE\Software\HTC\Manila\Home] key, with numbered subkeys.

The "0" to "99" keys seem to be reserved for widgets, while the quicklinks actually begin with "100" (up to "211").

The first strange thing is their order : if you number the existing switches from top to bottom then left to right, you may guess they're numbered 0 to 7, right ? Well, in the registry, they're actually numbered 4,5,7,8,0,1,2,3 respectively ! :D

Yes, the "6" is empty and not used.

But there's another weird thing : the "8" one, corresponding to the "Airplane mode", is duplicated in the "14" key ! I think I found there the explanation for a bug affecting recent Energy ROMs - and I will discuss that in detail in the Energy ROM topic. ;) The only thing to know there is it's not a CHT bug, but some weird setup NRGZ28 put in his ROMs, and it's not the only one I found here ! :D

OK, so let's go on about that switch. ;)

So I could finally understand how Co0kie represented the coordinates for icons placement.

They consist on X position given from the first page leftmost position (probably fixed by one of these mysterious parameters in CHT Editor, I certainly don't want to fiddle with :p), and an Y position given from the pages upper position (same punishment here).

Since the Y positions are positive upwards and the origine is fixed as some top margin, then icons positions vertical coordinates have to be negative. No really funny to handle in hexadecimal, but some regsitry editors (not all) fortunately translate them into short, readable negative number in decimal notation.

The X (horizontal) coordinate is stored in the "CHT_PosX" (dword) value (not a surprise here).

Quicklinks don't have to worry about coordinates : this value is always set to 0 for them ; but widgets must have X and Y position defined... Except that Co0kie obviously kept older versions format, and there's no "CHT_PosY" value !

Instead, the value responsible for quicklink activation is used, sot the Y coordinate is stored in the "IsSet" (dword) value ! :D

OK, some other values are used too, such as "HomeServiceType"=dword:0000000C identifying a toggle switch rather than a single actions icon as for instance "Restart" ("HomeServiceType"=dword:0000000E), but now we've managed to figure out how to display a widget, so let's try...

After some trial and errors, I finally could display the switch in the first rcolumn and under the second row.

But... It's not working ! When you press the icon, it animates correctly as when you click on any active icon, but it won't launch VolDpad, so of course, the switch won't toggle according to the registry key you added.

Widgets actually don't use the "ExePath" (REG_SZ) value. They're declared somewhere as widgets, not standard shortcuts, and just ignore the link to the program.

That's actually fortunate, as it could have led to some problems, due to the second bug NRGZ28 issued in his ROMs (explanations in the topic : the widgets actually contain the links to the missing quicklinks everyone reported last weeks) ! :D

But it doesn't help me to have your switch acting as a widget. ;)

You declared the new button by adding this line in the registry :

[HKEY_CURRENT_USER\Software\HTC\Manila]

"CHTI.AddonLinks.Slot0"="\CHTAddons\CHTAddon_VolDPadSwitch"

So I tried to add this one, following the official CHT widgets how-to :

[HKEY_CURRENT_USER\Software\HTC\Manila]

"CHTI.AddonWidgets.Slot0"="\CHTAddons\CHTAddon_VolDPadSwitch"

But this is where I finally failed : adding this line just crashes Sense ! :D

Of course, if you have no idea how to do, then it won't prevent me from sleeping, but... I'd really like to have it a widget instead of a quicklink.

Any idea, please ? :p