[New release] VistaHide Battery Gauge 1.0

Search This thread

jomo25

Senior Member
Mar 1, 2005
681
0
Yes, this works well on my Kaiser. I like it quite a bit. It's small and does what it does.

note it's just an executable. not a cab file. So, copy the .EXE (extracted from the ZIP) and then just place it in your Program Files folder.

Then, you can also paste a shortcut of it in your \Windows\Startup folder, and it will execute every time you soft reset automatically.

If you ever need to stop it, just run it again manually, and it turns it off.

There is no "remove programs" items since it doesnt actually get installed like a CAB file. It's just an executable.

I downloaded the one from the freepocketpc software link above. (The original verison of this started about a year ago, the v1.1.1 on the freepocketpc link is from July.) Make sure you get the appropriate version (pocketPC or Smartphone)...
 

hanzieman

Senior Member
Sep 20, 2006
119
2
Horst (L)
applying registry

Hello,

When I add a registry-line like you posted and i reset my wizard with wm6 afterwards the registry-input is gone?!

So i created the directory:

HKCU\Software\VistaHide\Battery Gauge\240 x 320\Height
and then make entry: default with value 3.

After reset this entry and directory is gone?!

Please help!
 

craigiecraigie4

Senior Member
Oct 4, 2005
354
1
Hell dude, you truly need to supply a .reg file with the settings for various devices (240 x 320 etc). New users are never gonna get this! Even for experienced users it takes ages to set up.

It's a nice, lightweight, app. Probably worth writing a quick settings proggie - seeing as you're keen to practice dev'ing anyway :)

Thanks
 

colonel00

Senior Member
Jan 21, 2007
166
0
Here is an example registry for the colors and other settings. I have not messed with the Exclude function yet.

Code:
[HKEY_CURRENT_USER\Software\VistaHide]

[HKEY_CURRENT_USER\Software\VistaHide\Battery Gauge]

[HKEY_CURRENT_USER\Software\VistaHide\Battery Gauge\240 x 320]
"Height"=dword:00000005
"Y"=dword:00000000
"Width"=dword:000000f0
"X"=dword:00000000

[HKEY_CURRENT_USER\Software\VistaHide\Battery Gauge\240 x 320\Colors]

[HKEY_CURRENT_USER\Software\VistaHide\Battery Gauge\240 x 320\Colors\Background]
"Dark"=dword:00000000
"Normal"=dword:00202020
"Light"=dword:00404040


[HKEY_CURRENT_USER\Software\VistaHide\Battery Gauge\240 x 320\Colors\Critical]
"Dark"=dword:0000007f
"Normal"=dword:000000ff
"Light"=dword:007f7fff

[HKEY_CURRENT_USER\Software\VistaHide\Battery Gauge\240 x 320\Colors\Low]
"Dark"=dword:00007f7f
"Normal"=dword:0000ffff
"Light"=dword:007fffff

[HKEY_CURRENT_USER\Software\VistaHide\Battery Gauge\240 x 320\Colors\High]
"Dark"=dword:00007f00
"Normal"=dword:0000ff00
"Light"=dword:007fff7f


[HKEY_CURRENT_USER\Software\VistaHide\Battery Gauge\240 x 320\Thresholds]
"High"=dword:00000064
"Low"=dword:00000019
"Critical"=dword:00000005

Edit: I went ahead and dug around a bit more. These should be the default values set up in the reg. I have not imported them to test as of yet, but this should be correct.

Note: It seems that it reads the color hex in the order Blue-Green-Red. A simple test is to enter the value 00FF0000 into one of the color regs. You would expect that region to turn red, but instead it shows as blue.

Here is a sample .reg if anyone wants to play with it. By no means is it great as I suck at graphics, but it will give you an idea of how to change things.
 

Attachments

  • VistaHide-Touchish.zip
    616 bytes · Views: 230
Last edited:

belangermtl

New member
Dec 3, 2007
4
0
57
Montréal
Nice in the lower part of the upper bar!

I created registry entries to put the gauge at the bottom of the upper
bar. Here are the entries for many resolutions:

REGEDIT4

[HKEY_CURRENT_USER\Software\VistaHide]

[HKEY_CURRENT_USER\Software\VistaHide\Battery Gauge]

[HKEY_CURRENT_USER\Software\VistaHide\Battery Gauge\240 x 240]
"Height"=dword:00000003
"X"=dword:0000001A
"Y"=dword:00000017

[HKEY_CURRENT_USER\Software\VistaHide\Battery Gauge\320 x 240]
"Height"=dword:00000003
"X"=dword:0000001A
"Y"=dword:00000017

[HKEY_CURRENT_USER\Software\VistaHide\Battery Gauge\240 x 320]
"Height"=dword:00000003
"X"=dword:0000001A
"Y"=dword:00000017

[HKEY_CURRENT_USER\Software\VistaHide\Battery Gauge\320 x 320]
"Height"=dword:00000003
"X"=dword:0000001A
"Y"=dword:00000017

[HKEY_CURRENT_USER\Software\VistaHide\Battery Gauge\640 x 480]
"Height"=dword:00000003
"X"=dword:0000001A
"Y"=dword:00000017

[HKEY_CURRENT_USER\Software\VistaHide\Battery Gauge\480 x 640]
"Height"=dword:00000003
"X"=dword:0000001A
"Y"=dword:00000017

[HKEY_CURRENT_USER\Software\VistaHide\Battery Gauge\640 x 640]
"Height"=dword:00000003
"X"=dword:0000001A
"Y"=dword:00000017
 

ilordvader

Senior Member
Oct 27, 2007
2,791
121
Mumbai
The way i know how to install a Software in my cell is, just drag it to my storage card then clcik in onmy phone to install it
I always have problems with a zip file in my wm6 Tillt Phone

is there a Cab file for this program ?

Thank you (newbie)
 

jomo25

Senior Member
Mar 1, 2005
681
0
Its not a cab file. Its just an executable. So, copy the file to your phone and just run it to open it. You can run it again, to close it. You should put a shortcut to it in your \Windows\Startup directory if ou want it to autostart whenever you softreset your phone.
 

ilordvader

Senior Member
Oct 27, 2007
2,791
121
Mumbai
Its not a cab file. Its just an executable. So, copy the file to your phone and just run it to open it. You can run it again, to close it. You should put a shortcut to it in your \Windows\Startup directory if ou want it to autostart whenever you softreset your phone.

See Image 5
A sharing violation....

Image 6
See the file shows only 58%

is that correct ?

thats what happens
 

Attachments

  • Screenshot_5.jpg
    Screenshot_5.jpg
    14.3 KB · Views: 327
  • Screenshot_6.jpg
    Screenshot_6.jpg
    9.3 KB · Views: 268

kilthro

Senior Member
Aug 22, 2007
249
53
I am having a wierd issue with this program I installed it as lordsmiff batter meter and I have also just run the exe on here.

I can not get it to go completely away when closed. Even if I do a reinstall and uninstall.

DOes anyone know how to get this completely removed?
 

Attachments

  • Screen001.jpg
    Screen001.jpg
    18.7 KB · Views: 453

jvlerick

Member
Dec 29, 2007
15
0
Hello!

I recently purchased an iPaq hw6955 and fell in love with it. I have been coding on Windows for way too many years, yet this is the first time my PDA doesn't run Linux (or OpenBSD ;)).

I recently saw levenum's taskbar battery meter, and though that it would make a nice project for a first mobile application. How pleased I was when levenum accepted my request to share the sources. How even more pleased and surprised I was when I saw the code. It is exactly the same as coding on Windows...

So my idea was to have a fullscreen gradient bar that would look "behind" VistaBetaTWO's WA2 Aero skin. And I've done it (and it only weights 12 kb!).

Here is a screenshot for your viewing pleasure.

View attachment 31162

But after having read levenum's thread, I understood some people would like it thinner, etc... So there are tons of options read from the registry! The gauge should work on WM 5.0 PocketPC and Smartphone editions, and should handle screen rotation, but I can't test this because the emulator doesn't have an option to switch between landscape and portrait, and the hw6955 is a square screen device.

The registry keys are kept for each resolution, which I will write as "W x H". (e.g. The base key for my device (240 x 240) would be HKCU\Software\VistaHide\Battery Gauge\240 x 240\). All of these keys are independant (i.e. If you need to only modify the height of the bar, you only need to create the Height key.)

Options :

[DWORD] HKCU\Software\VistaHide\Battery Gauge\W x H\X
- Window's left position. Default : 0.

[DWORD] HKCU\Software\VistaHide\Battery Gauge\W x H\Y
- Window's top position. Default : 0.

[DWORD] HKCU\Software\VistaHide\Battery Gauge\W x H\Width
- Window's width. Default : -1.
- Note: Any value below 0 means fullscreen.

[DWORD] HKCU\Software\VistaHide\Battery Gauge\W x H\Height
- Window's height. Default : 4.

[DWORD] HKCU\Software\VistaHide\Battery Gauge\W x H\Thresholds\Critical
[DWORD] HKCU\Software\VistaHide\Battery Gauge\W x H\Thresholds\Low
[DWORD] HKCU\Software\VistaHide\Battery Gauge\W x H\Thresholds\High
- Value between 0 and 100 which represents the gradient thresholds.
- Default : (Critical) 0.05, (Low) 0.25, (High) 1.00.

[DWORD] HKCU\Software\VistaHide\Battery Gauge\W x H\Colors\Background\Light
[DWORD] HKCU\Software\VistaHide\Battery Gauge\W x H\Colors\Background\Normal
[DWORD] HKCU\Software\VistaHide\Battery Gauge\W x H\Colors\Background\Dark
[DWORD] HKCU\Software\VistaHide\Battery Gauge\W x H\Colors\Critical\Light
[DWORD] HKCU\Software\VistaHide\Battery Gauge\W x H\Colors\Critical\Normal
[DWORD] HKCU\Software\VistaHide\Battery Gauge\W x H\Colors\Critical\Dark
[DWORD] HKCU\Software\VistaHide\Battery Gauge\W x H\Colors\Low\Light
[DWORD] HKCU\Software\VistaHide\Battery Gauge\W x H\Colors\Low\Normal
[DWORD] HKCU\Software\VistaHide\Battery Gauge\W x H\Colors\Low\Dark
[DWORD] HKCU\Software\VistaHide\Battery Gauge\W x H\Colors\High\Light
[DWORD] HKCU\Software\VistaHide\Battery Gauge\W x H\Colors\High\Normal
[DWORD] HKCU\Software\VistaHide\Battery Gauge\W x H\Colors\High\Dark
- Colors! If you look closely at the screenshot, you will see that the bar is "beleveled". The light color is the top part, and dark one the bottom, everything in between is normal. Want to disable "beleveling" ? Set the light, normal and dark to the same color.
- Default values ( Light, Normal, Dark ) :
Background : RGB ( 64, 64, 64 ), RGB ( 32, 32, 32 ), RGB ( 0, 0, 0 )
Critical : RGB ( 255, 127, 127 ), RGB ( 255, 0, 0 ), RGB ( 127, 0, 0 )
Low : RGB ( 255, 255, 127 ), RGB ( 255, 255, 0 ), RGB ( 127, 127, 0 )
High : RGB ( 127, 255, 127 ), RGB ( 0, 255, 0 ), RGB ( 0, 127, 0 )

[DWORD] HKCU\Software\VistaHide\Battery Gauge\W x H\Excluded Regions\{Anything}\X
[DWORD] HKCU\Software\VistaHide\Battery Gauge\W x H\Excluded Regions\{Anything}\Y
[DWORD] HKCU\Software\VistaHide\Battery Gauge\W x H\Excluded Regions\{Anything}\Width
[DWORD] HKCU\Software\VistaHide\Battery Gauge\W x H\Excluded Regions\{Anything}\Height
- Now for the fun part... This is how you can remove "parts" of the bar. For every key in "Excluded Regions", it will read a rectangle, and exclude it from the window.
- Default value : No excluded regions.


Example (I think it's necessary ;)) :

Here are the keys needed to achieve the look in the screenshot (at 240 x 240). It uses all the default values, except for 4 excluded regions (one per line).

HKCU\Software\VistaHide\Battery Gauge\240 x 240\Excluded Regions\Line 1\X : (DWORD) 13
HKCU\Software\VistaHide\Battery Gauge\240 x 240\Excluded Regions\Line 1\Y : (DWORD) 0
HKCU\Software\VistaHide\Battery Gauge\240 x 240\Excluded Regions\Line 1\Width : (DWORD) 11
HKCU\Software\VistaHide\Battery Gauge\240 x 240\Excluded Regions\Line 1\Height : (DWORD) 1
HKCU\Software\VistaHide\Battery Gauge\240 x 240\Excluded Regions\Line 2\X : (DWORD) 11
HKCU\Software\VistaHide\Battery Gauge\240 x 240\Excluded Regions\Line 2\Y : (DWORD) 1
HKCU\Software\VistaHide\Battery Gauge\240 x 240\Excluded Regions\Line 2\Width : (DWORD) 15
HKCU\Software\VistaHide\Battery Gauge\240 x 240\Excluded Regions\Line 2\Height : (DWORD) 1
HKCU\Software\VistaHide\Battery Gauge\240 x 240\Excluded Regions\Line 3\X : (DWORD) 10
HKCU\Software\VistaHide\Battery Gauge\240 x 240\Excluded Regions\Line 3\Y : (DWORD) 2
HKCU\Software\VistaHide\Battery Gauge\240 x 240\Excluded Regions\Line 3\Width : (DWORD) 17
HKCU\Software\VistaHide\Battery Gauge\240 x 240\Excluded Regions\Line 3\Height : (DWORD) 1
HKCU\Software\VistaHide\Battery Gauge\240 x 240\Excluded Regions\Line 4\X : (DWORD) 9
HKCU\Software\VistaHide\Battery Gauge\240 x 240\Excluded Regions\Line 4\Y : (DWORD) 3
HKCU\Software\VistaHide\Battery Gauge\240 x 240\Excluded Regions\Line 4\Width : (DWORD) 19
HKCU\Software\VistaHide\Battery Gauge\240 x 240\Excluded Regions\Line 4\Height : (DWORD) 1


EDIT: Forgot one neat feature... If you launch it while it is already running, it will close the running instance.

Hope you enjoy, and you can expect a lot more freebies like this from me in the future!


Is it possible to have it visible on the Today screen too?
 

joojoomary

New member
May 23, 2008
3
0
i have kaisertweak and the option in there is for not to show it during call...i do not want it there period since i got this indicator