More Registry Tweaks
You can customize Pocket Digital Clock by tweaking the registry values found on this page.
Note that these registry tweaks are now obsolete and mainly replaced by the Option Dialogs found in the Customization page. Unless you need to override the background grayscale color, there is no need to access the registry at all. This page is maintained for documentation purpose only.
Please be advised that these tweaks will not work on Pocket Digital Clock Release Candidate 1.3 or earlier.
You will need a Pocket PC registry editor like PHM Registry Editor to do the job. Backup your registry before you make any changes in case something goes wrong.
Disable Pocket Digital Clock on Today Screen before you edit and re-enable the plug-in after you are done. You do not need to soft-reset your device for the registry subkeys below to take effect.
All registry subkeys covered on this page are located in the registry key at \HKEY_CURRENT_USER\Software\ProjectION\Pocket Digital Clock which allow you to:
- Enable or disable the alarm icon display (See subkey 1)
- Edit the opacity and color of the background (See subkeys 2 to 5)
- Specify the action when plug-in is pressed or tapped (See subkey 17)
- Increase or decrease the font size (See subkeys 19, 21 and 32)
- Specify double or single line for AM/PM time markers (See subkey 27)
- Override the font color (See subkeys 9 to 16, and 29 to 31)
- Set alignment of day and date (See subkey 6)
- Prevent background opacity and color be overridden (See subkeys 20)
- Show or hide day and date (See subkey 22)
- Replace the day of week with the operator name (See subkey 23)
- Show or hide the seconds display (See subkey 24)
- Use short or long date format (See subkey 25)
- Show or hide the time markers (See subkey 26)
- Enable ClearType on a per-application basis (See subkey 7 and 8)
- Enable tap-and-hold gesture to run action on Today Screen (See subkey 28)
- Increase or decrease the vertical top and bottom border height (See subkey 33)
- Hide the time display in power-off or suspend mode (See subkey 18)
The list of subkeys are:
- AlarmIconEnabled
- AlphaDayDate
- AlphaReserved
- AlphaTime
- AlphaTransparent
- CenterDayDate
- ClearTypeDayDateEnabled
- ClearTypeTimeEnabled
- ColorExAlarm
- ColorExDate
- ColorExDay
- ColorExHour
- ColorExMinute
- ColorExSecond
- ColorExTMarker
- ColorExTSeparator
- FileOnAction
- HideTimeInSleep
- HourMinFontSize
- OverrideARGB
- SecondFontSize
- ShowDayDate
- ShowOpName
- ShowSeconds
- ShowShortDate
- ShowTimeMarkers
- SingleTMLine
- TapAndHoldEnabled
- TextColorDefault
- TextColorEnabled
- TextColorHighlight
- TimeMarkerFontSize
- VerticalBorderHeight
Specifies whether to enable or disable the alarm icon display on the right side of Pocket Digital Clock. If the value is 0, the alarm icon will not be displayed on the plug-in regardless of the alarm status. If the value is 1, the alarm icon will be displayed in opaque or translucent depending on the state of the alarm.
The default value is 1. (Enabled)
Specifies the opacity and color of the background image bounding the day and date text. See ARGB Value for the data representation.
The default value in HEX is 0x66000000. (Black 40% opacity)
For internal use only. Do NOT change this value unless AlphaTransparent has the same value. The first 8-bit must be zero for this value, i.e. alpha not used.
The default value in HEX is 0x00A0B0C0. (Reserved)
Specifies the opacity and color of the background image bounding the time display. See ARGB Value for the data representation.
The default value in HEX is 0x2D000000. (Black 18% opacity)
Specifies the opacity and color of the outer rim of the plug-in and the LED effect used in certain fonts. See ARGB Value for the data representation.
The default value in HEX is 0x00000000. (100% transparent)
- The values in the Alpha subkeys above consist of eight hexadecimal numbers representing four 8-bit components.
- The first component is the alpha channel. (0xAA000000)
- Second component is the red channel. (0x00RR0000)
- Third component is the green channel. (0x0000GG00)
- Last component is the blue channel. (0x000000BB)
- Replace XX with an 8-bit HEX value ranging from 0x00 to 0xFF.
- 0x00 in the alpha channel means completely transparent while 0xFF is opaque.
- For example: 0x335C4033 produces a translucent dark brown that converts to:
- Alpha: 20% opacity (0x33 in HEX)
- Red: 92 (0x5C in HEX)
- Green: 64 (0x40 in HEX)
- Blue: 51 (0x33 in HEX)
- Tip: Regardless of the example above, please use only shades of black and gray for the RGB channels. The final displayed color is the background color multiplied by the ARGB value and may produce unexpected results if using other colors.
Specifies how the day and date are aligned on Pocket Digital Clock. If this value is 1, day and date will be aligned to the center of the plug-in. If this value is 0, the day will left-aligned to the left side of the screen and the date will right-aligned on the opposite side. If this value is 2, the day will right-aligned while the date left aligned.
The default value is 1. (Center alignment)
Specifies whether the day and date font will use ClearType rendering on a per-application basis. A value of 0 means disabled while 1 is enabled.
The default value is 0. (Disabled)
Specifies whether the time (hour, minute, second digits and time marker) font will use ClearType rendering on a per-application basis. A value of 0 means disabled while 1 is enabled.
The default value is 0. (Disabled)
Specifies the color of the alarm icon when the value of TextColorEnabled is set to 2 or 3. The value is represented by a 24-bit RGB hexadecimal digit (0xBBGGRR), where 0xFF0000 represents blue, 0x00FF00 means green and 0x0000FF is red. This hexadecimal form is similar to Windows color structure COLORREF.
The default value in HEX is 0xFFFFFF. (White)
Specifies the color of the date text when the value of TextColorEnabled is set to 2 or 3. The value is represented by a 24-bit RGB hexadecimal digit (0xBBGGRR), where 0xFF0000 represents blue, 0x00FF00 means green and 0x0000FF is red. This hexadecimal form is similar to Windows color structure COLORREF.
The default value in HEX is 0xFFFFFF. (White)
Specifies the color of the day text, the centralized day and date string, and the network operator name when the value of TextColorEnabled is set to 2 or 3. The value is represented by a 24-bit RGB hexadecimal digit (0xBBGGRR), where 0xFF0000 represents blue, 0x00FF00 means green and 0x0000FF is red. This hexadecimal form is similar to Windows color structure COLORREF.
The default value in HEX is 0xFFFFFF. (White)
Specifies the color of the hour digits when the value of TextColorEnabled is set to 2 or 3. The value is represented by a 24-bit RGB hexadecimal digit (0xBBGGRR), where 0xFF0000 represents blue, 0x00FF00 means green and 0x0000FF is red. This hexadecimal form is similar to Windows color structure COLORREF.
The default value in HEX is 0xFFFFFF. (White)
Specifies the color of the minute digits when the value of TextColorEnabled is set to 2 or 3. The value is represented by a 24-bit RGB hexadecimal digit (0xBBGGRR), where 0xFF0000 represents blue, 0x00FF00 means green and 0x0000FF is red. This hexadecimal form is similar to Windows color structure COLORREF.
The default value in HEX is 0xFFFFFF. (White)
Specifies the color of the second digits when the value of TextColorEnabled is set to 2 or 3. The value is represented by a 24-bit RGB hexadecimal digit (0xBBGGRR), where 0xFF0000 represents blue, 0x00FF00 means green and 0x0000FF is red. This hexadecimal form is similar to Windows color structure COLORREF.
The default value in HEX is 0xFFFFFF. (White)
Specifies the color of the time marker string when the value of TextColorEnabled is set to 2 or 3. The value is represented by a 24-bit RGB hexadecimal digit (0xBBGGRR), where 0xFF0000 represents blue, 0x00FF00 means green and 0x0000FF is red. This hexadecimal form is similar to Windows color structure COLORREF.
The default value in HEX is 0xFFFFFF. (White)
Specifies the color of the time separator when the value of TextColorEnabled is set to 2 or 3. The value is represented by a 24-bit RGB hexadecimal digit (0xBBGGRR), where 0xFF0000 represents blue, 0x00FF00 means green and 0x0000FF is red. This hexadecimal form is similar to Windows color structure COLORREF.
The default value in HEX is 0xFFFFFF. (White)
String value that specifies the full path and name of a file, shortcut or URL to open when Pocket Digital Clock is pressed or tapped on Today Screen. Empty the Value Data and leave it blank if you do not want Pocket Digital Clock to respond to any interactions.
The default value is "\Windows\clock.exe".
Specifies whether to show or hide the time display in power-off or suspend mode. If this value is 1, the power management function is enabled. Otherwise, a value of 0 means the function is disabled.
The default value is 0. (Disabled)
Specifies the font size of the hour and minute digits on Pocket Digital Clock in points. This value affects the height of the plug-in cell and restricts the font size of the second digits and AM/PM time marker. This value is in the range 16 through 99.
Note that the program does not check this value and the time may be drawn outside of the screen if set too high.
The default value in decimal is 38.
This is a 16-bit hexadecimal value which controls the states of the four check boxes in the option dialog that defines the Background Opacity and Color. The check boxes enable or disables the respective slider controls in the dialog.
If the bit-masked value is 0xF000, the Opacity slider control in the Day/date cell group will be enabled and Pocket Digital Clock will override the alpha value in AlphaDayDate with the Opacity percentage in the dialog.
If the bit-masked value is 0x0F00, the Grayscale slider control in the Day/date cell group will be enabled and Pocket Digital Clock will average the red, green and blue values in AlphaDayDate to produce a Grayscale percentage in the dialog. The new Grayscale percentage will then override the RGB value in the registry.
If the bit-masked value is 0x00F0, the Opacity slider control in the Time cell group will be enabled and Pocket Digital Clock will override the alpha value in AlphaTime with the Opacitypercentage in the dialog.
If the bit-masked value is 0x000F, the Grayscale slider control in the Time cell group will be enabled and Pocket Digital Clock will average the red, green and blue values in AlphaTime to produce a Grayscale percentage in the dialog. The new Grayscale percentage will then override the RGB value in the registry.
If the bit-masked value is 0, every slider control is disabled and the background color will only
respond to registry changes.
The default value in hexadecimal is 0x0000. (Disabled for all check boxes)
Specifies the font size of the second digits on Pocket Digital Clock in points. HourMinFontSize will be used if this value is set higher than the hour and minute font size.
Note that the program does not check this value and the time may be drawn outside of the screen if set too high.
The default value in decimal is 26.
Specifies whether to show the day/date and bounding area on Pocket Digital Clock. If the value is 1, both day/date and time will be displayed on the plug-in in their respective bounding areas. If the value is 0, day/date and its bounding area will be removed and only the time is shown on the plug-in.
The default value is 1. (Enabled)
Specifies whether to show the current network operator name or the day of the week on Pocket Digital Clock. If the value is 0, the plug-in will display the day of week on the top left corner of the plug-in. If the value is 1, Pocket Digital Clock will show the current network operator name instead.
The default value is 0. (Disabled)
Specifies whether the second digits will appear on the time display of the plug-in. If the value is 0, there will be no seconds display on Pocket Digital Clock. If the value 1, the time will show the second digits.
The default value is 1. (Enabled)
Specifies whether to show the short date format or long date format, specified in Regional Settings, on Pocket Digital Clock. If the value is 0, the long date format will be used to display on the plug-in. If the value is 1, the short date format will appear instead.
The default value is 0. (Disabled)
Specifies whether to show the AM and PM time markers on Pocket Digital Clock. If the value is 1, the time markers will be displayed on the plug-in. If the value is 0, the time markers are hidden from view.
The default value is 1. (Enabled)
Specifies how the AM and PM time markers are shown on Pocket Digital Clock.
The AM and PM time markers will be shown in two separate lines if this
value is set to 0. If this value is 1, either AM or PM time marker will
be shown in a single line at the bottom of the plug-in.
The default value is 0. (Disabled)
Specifies whether tap-and-hold gesture is enabled. When enabled, normal taps on Today Screen will not activate the action specified in FileOnAction, unless a tap-and-hold gesture is executed. If this value is 0, this feature is disabled. Value of 1 means enabled.
The default value is 0. (Disabled)
Specifies the color of the text and alarm icon on Pocket Digital Clock if the value of TextColorEnabled is set to 1. The value is represented by a 24-bit RGB hexadecimal digit (0xBBGGRR), where 0xFF0000 represents blue, 0x00FF00 means green and 0x0000FF is red. This hexadecimal form is similar to Windows color structure COLORREF.
The default value in HEX is 0xFFFFFF. (White)
Specifies whether the color of the text and alarm clock icon on Pocket Digital Clock is using the theme of the Pocket PC or user specified.
If the value is 0, Pocket Digital Clock will use Today theme color.
If the value is 1, the plug-in will set the color based on the registry values from TextColorDefault and TextColorHighlight.
If the value is 2, the color of individual display elements will be represented by ColorExAlarm, ColorExDate, ColorExDay, ColorExHour, ColorExMinute, ColorExSecond, ColorExTMarker and ColorExTSeparator instead. However, there is no highlighted color when the plug-in is receiving selection focus.
If the value is 3, Pocket Digital Clock will exhibit the same behavior when this value is set to 2. The difference is that the color of all text and alarm clock icon will take on the color values from TextColorHighlight when the plug-in has focus.
The default value is 0. (Disabled)
Specifies the color of the highlighted text on Pocket Digital Clock if the value of TextColorEnabled is set to 1. Text is highlighted when the plug-in is receiving a selection focus. The value is represented by a 24-bit RGB hexadecimal digit (0xBBGGRR), where 0xFF0000 represents blue, 0x00FF00 means green and 0x0000FF is red. This hexadecimal form is similar to Windows color structure COLORREF.
The default value in HEX is 0xFFFFFF. (White)
Specifies the font size of the AM and PM time markers on Pocket Digital Clock in points. This value is restricted to the logical height of HourMinFontSize programmatically.
Note that the program does not check this value and the time may be drawn outside of the screen if set too high.
The default value in decimal is 9.
Specifies the number of pixels used for extra spacings on the top and bottom of the plug-in. When this value is 0, the plug-in height is at its minimal. This value is in the range 0 through 500.
The default value in decimal is 0. (No extra space.)