[Windows Mobile Apps and Games] Co0kieMonster:
Section 5: Tehnical reference

CHT full changelog:

#v2.0.0 (changes since public beta) - 12/11/2010
-[new] sms and email notification shortcuts will jump to CHT widgets
-[new] option to disable non-edit mode popup menu (CHTEditor->Widget settings)
-[new] option to make toggle switch turn on bluetooth in discoverable mode (CHTEditor->Miscellaneous)
-[new] option for original flip clock animation (CHTEditor->Miscellaneous)
-[new/fixed] updated chtstate v1.08g
-[change] tab and state links are no longer part of the base CHT cab - available as addons
-[fixed] phone hardkey not working
-[fixed] tab change bug when only a single home widget page is set
-[fixed] left/right swipe stops working
-[fixed] various quick/free links assignment and move bugs
-[fixed] independent quick links bugs (invisible link presses)
-[fixed] quick links layout bug when setting a lower max row count
-[fixed] quick links disappearing text
-[fixed] sms and email mark read on timeout will only be set if the widget is currently on the screen
-[fixed] sms and email swipe not active on the lockscreen
-[fixed] missed calls notification icon not updating correctly
-[fixed] bugs with "don't repeat multiday appointment" option
-[fixed] WM6.5.x detection method
-[fixed] sms/email popup menu exiting
-[fixed] wallpaper previous/next/random links with very wide walls
-[fixed] widget might disappear after being unpinned
-[fixed] pinning widgets close to or over the edge of the screen
-[fixed] free links size on lockscreen
-[fixed] appointment/tasks list hides independent quick links grid when it should not
-[fixed] add a link page in landscape
-[fixed] wide wallpapers move up after live change
-[dev] custom operator text and foreground layer changes are live (no need for manila restart)
-[dev] updated the setup.dll for addon widgets to add as small install safeguard
-[dev] separated appointment/tasks list and popup menu graphics
-[dev] addon links framework added
#v2.0.0 Public Beta - 26/09/2010
-[new] major upgrade - first public release
#v1.8.5 - 19/06/2010
-[new] option for scrolling appointment and task lists
-[new] task improvements: counters, color options, option to display both start and due date
-[new] high quality wallpapers
-[new] taskbar and softkeybar skinning
-[new] wallpaper control quick links: previous, next, random wallpaper
-[new] compatible with manila_home 2016 (with manila_core 2015) (dev note: graphics files: 1b8f4bec_manila, 55b3bed2_manila, 710705ec_manila)
-[new] addon cab: alternative lockscreen for WM6.1 users (thanks to Kenia1234 for testing this)
-[new][dev] the analog clock has it's own mode9 and script file (mode9: 1E1A6CCD_manila, lua: 1EC5924B_manila)
-[change] weather animation on the lockscreen now plays even if weather is off on the home tab
-[change] music player (or any element) will no longer be loaded on startup if it's not visible on any layout
-[fixed] analog clock hand alignment (thanks to rat_2665)
-[fixed] wallpaper selection on WM6.1
-[fixed] VGA: all tabs wallpaper, add toggle menu, titlebar disappears
-[fixed] photos tab picture position for both VGA and WVGA
-[fixed] clock highlight getting stuck
-[fixed] tab change side swipe not responding after unlock
-[fixed] analog clock resize button shows in non-edit mode
-[fixed] quick links disappear in landscape
-[fixed] appointments/tasks slim header autohide
-[fixed] previous track button disabled image on manila 19xx (dev note: for skinned players 59B6BB1D_manila needs to be copied and renamed to 10B1B92F_manila)
-[fixed] white wallpaper when rotating with hdwall
-[fixed] test appointments don't show up sometimes
-[fixed] tasks sorting and range
-[fixed] if home menu was open when locking the unlock slider would be missing
-[fixed] slider bar appears on white menus with no tabs
-[fixed] phone toggle doesn't turn off if data was connected
-[fixed] weather animation freezes on comm switch
-[fixed] music info not updating
-[fixed] lockscreen bottom bar bug
-[fixed] uninstall problem on some ROMs
#v1.8.0 - 06/06/2010
-[new] many lockscreen improvements
-[new] new quick link types: switches, notifications and misc
-[new] wallpaper controls: home, all tabs, lockscreen
-[new] wide scrolling home wallpaper
-[new] 4 home levels and landscape are customizable
-[new] tasks
-[new] new list control for appointments and tasks (unlimited item count)
-[new] anything will hide behind the expanded app/tasks list (not just quick links)
-[new] music player with 3 layouts
-[new] text color settings
-[new] analog clock is x-axis movable and resizable
-[speed] significant boost to quick links animation speed/smoothness
-[change] tab slider is now always visible on white submenus (related to retractable slider)
-[fixed] many lockscreen related problems
-[fixed] highlights that stick
-[fixed] second hand freezing
-[removed] animated wallpapers (not weather wallpapers, just the 3 animated ones)
#v1.7.1 - 18/04/2010
-[new] voicemail program link
-[new] notification support for more than 100 sms/mms/email
-[new] sun rays animation option
-[fixed] advanced layout menu not working
-[fixed] black bar in submenus
-[fixed] music problem with locker
-[fixed] full screen animation showing wrong weather
-[fixed] program selector in VGA
-[fixed] clock becomes rotated sometimes
-[fixed] weather hit area removed from no weather clock
-[fixed] page indicator shows up after unlock
-[fixed] retractable slider bugs
-[fixed] clock weather text overlap
-[removed] dim backlight option (using system setting instead)
-[removed] suspend timeout option (using system setting instead)
#v1.7 - 13/04/2010
-[new] moveable and customizable home items
-[new] 6 clock layouts (including analog)
-[new] 2 or 3 quick links rows in main view
-[new] notification icons
-[new] customizable lockscreen with 3 unlock modes
-[new] more than 3 quick links pages
-[new] retractable slider
-[new] parameter support for button program links
-[new] automatic VGA mode detection
-[new] added voicemail notification
-[changed] position of more appointments indicator arrow
-[changed] adjusted 3x3 quick links layout
-[fixed] exchange policies related issue
-[fixed] bug with appointment range set to 1
-[fixed] miscellaneous smaller bugs
#v1.6.1 - 07/03/2010
-[new] option to hide or auto hide appointments
-[new] added more appointments indicator for main view
-[fixed] call history related bugs (rounded edge, overlap)
-[fixed] date button now always shows month view in calendar tab
-[fixed] removed side scroll animation from animation level 0
-[fixed] corrected quick links scrolling in landscape
#v1.6 - 04/03/2010
-[new] 3x3 layout added and 5x5 repositioned slightly
-[new] reworked animations with 4 levels and an animation toolkit
-[new] dynamic notifications - autohide call history and quick links
-[new] up to 5 appointments in extended view, 2 in main view
-[new] enabled swiping between tabs from home
-[new] option to set the number of quick link pages
-[new] option to hide shortcut text and text background
-[new] option to hide page indicator
-[new] weather animatin on/off switch
-[new] localization support
-[new] setting for date, clock and weather buttons
-[new] option to set a custom operator name
-[fixed] leftmost and rightmost column sensitivity on 4x4 layout
-[fixed] wrong date for multiday appointments
-[fixed] quick links bug on up key / volume key
-[fixed] appointments now always update on home tab load
-[fixed] added back htc start menu shortcuts
-[fixed] unfinished animation before switching to remove/rearrange view
-[fixed] re-enabled operator logo
-[fixed] a few bugs in VGA mode
#v1.5.4 - 13/02/2010
-[fixed] crash on start up (thanks to caliban2)
-[fixed] crash on swiping
-[fixed] past/future appointment mix-up with 12-hour format
-[fixed] bug when dragging appointment across pages
-[fixed] default page reg setting
#v1.5 - 10/02/2010
-[new] 3 pages of quick links
-[new] 5x5 link layout
-[new] drag and drop to rearrange
-[new] dated appointment for more than 2 days
-[new] call history button
-[new] configurable alarm, call history and calendar buttons
-[new] basic VGA support
#v1.0.1 - 31/01/2010
-[fixed] clock distortion bug
-[changed] 16 links is now default
#v1.0 - 30/01/2010
-initial release

Registry settings for reference

Settings are located in: HKEY_CURRENT_USER\Software\HTC\Manila\

Restart Manila for the changes to take effect. Available settings:

Settings format: reg_value_name (type) (default value) description
Notes: bool => 0 or 1, color => a color code string

### email - both general mail and specific email widget settings
---
CHT.Email.TextSizeSender (20-30) (24) - email widget text size adjustment
CHT.Email.TextSizeDateTime (12-24) (18)
CHT.Email.TextSizeSubject (14-28) (20)
CHT.Email.TextSizeBody (10-22) (16)
---
CHT.Email.TextColorMain (color) ("")
CHT.Email.TextColorSub (color) ("")
---
CHT.Email.MarkRead (bool) (0) - mark email as read when selected
CHT.Email.MarkReadTimeout (0-20) (2) - seconds timeout to mark as read
---
CHT.Email.ExcludeOutlookCount (bool) (0) - if turned on, email notifications on the home tab and lockscreen will not count outlook items

### messages - sms/mms
---
CHT.SMS.TextSizeSender (20-30) (24) - widget text size adjustment
CHT.SMS.TextSizeDateTime (12-24) (18)
CHT.SMS.TextSizeBody (10-22) (16)
---
CHT.SMS.TextColorMain (color) ("")
CHT.SMS.TextColorSub (color) ("")
---
CHT.SMS.MarkRead (bool) (0) - mark as read when selected
CHT.SMS.MarkReadTimeout (0-20) (2) - seconds timeout to mark as read

### notification bar is now configurable
CHT.NotifyBar.HideMissedCalls (bool) (0)
CHT.NotifyBar.HideSMS (bool) (0)
CHT.NotifyBar.HideEmail (bool) (0)
CHT.NotifyBar.HideVoicemail (bool) (0)

### widget page and level controls
--- pages - separate controls for portrait, landscape and lockscreen
CHT.WPages.Portrait.NumPages (1-7) (3)
CHT.WPages.Portrait.DefaultPage (1-7) (2)
---
CHT.WPages.Lockscreen.NumPages (1-7) (1)
CHT.WPages.Lockscreen.DefaultPage (1-7) (1)
---
CHT.WPages.Landscape.NumPages (1-7) (1)
CHT.WPages.Landscape.DefaultPage (1-7) (1)
---
CHT.WLevels.Circle (bool) (0)
CHT.WLevels.Min (0-3) (3)
CHT.WLevels.Max (0-3) (3)

### general widget settings
CHT.Widget.SnapX (1-100) (1) - snap widgets to x-axis of alignment grid - size in pixels
CHT.Widget.SnapY (1-100) (1) - snap widgets to y-axis of alignment grid - size in pixels
CHT.Widget.DisableNonEditPopup (bool) (0) - disables the non edit mode popup menu

### quick links - no more QLMode - instead just set the desired number of rows and culumns (different column num settings for portrait and landscape)
CHT.QuickLinks.MaxNumRows (1-6) (4) - this is called "maximum" because the number can be made lower in CHT layout edit mode
CHT.QuickLinks.NumColumnsPortrait (1-5) (4)
CHT.QuickLinks.NumColumnsLandscape (1-4) (3)
---
CHT.QuickLinks.HideEmptyShortcuts (bool) (0)
CHT.QuickLinks.HideIconFrames (bool) (0)
CHT.QuickLinks.HideShortcutTextBack (bool) (0)
CHT.QuickLinks.HideShortcutText (bool) (0)
CHT.QuickLinks.VibrateOnPress (bool) (0)
---
CHT.QuickLinks.Independent (bool) (0) - when turned on the quick links grid will stay on one wdget page and swipe left/right independently of the widgets
CHT.QuickLinks.NumPages (1-7) (3) - number of quick links pages
CHT.QuickLinks.DefaultPage (1-7) (2) - default quick links page
---
CHT.QuickLinks.SelectionGrid (0-2) (1) - for the "add a quick link" menus

### free links
CHT.FreeLinks.HideIconFrames (bool) (0)
CHT.FreeLinks.HideShortcutTextBack (bool) (0)
CHT.FreeLinks.HideShortcutText (bool) (0)
CHT.FreeLinks.VibrateOnPress (bool) (0)
--
CHT.FreeLinks.snapX (1-100) (30) - snap to position length in pixels (x-axis)
CHT.FreeLinks.snapY (1-100) (30) - snap to position length in pixels (y-axis)
--
CHT.FreeLinks.LockSlidingEnabled (bool) (1) - enable slide to activate on the lockscreen
CHT.FreeLinks.LockTargetOffset (30-350) (80) - how long the slide should be (in pixels)

### redesigned softkeys + tab slider
CHT.Softkeys.Enabled (bool) (0)
CHT.Softkeys.KeyHeight (48-80) (64) - softkey height in pixels
CHT.Softkeys.MenuHeight (48-80) (64) - menu item height in pixels
---
CHT.Softkeys.Key1 (key) ("") - these 5 let you choose the keys in the softkey bar (leave blank for default)
CHT.Softkeys.Key2 (key) ("")
CHT.Softkeys.Key3 (key) ("")
CHT.Softkeys.Key4 (key) ("")
CHT.Softkeys.Key5 (key) ("")
*** key: a string value - it can be:
-standard keys:
Menu, Phone, TabSlider, LockDevice, Web, StartMenu
-special keys:
DummyKey - leaves a blank spot (if you have key1-something, key2-DummyKey, key3-something, there will be a empty space between key1 and key3)
None - removes the key completely (if you have key1-something, key2-None, key3-something, key1 and key3 will end up next to each other)
Custom1, Custom2, Custom3 - user defined custom keys defined by:
---
CHT.Softkeys.KeyCustom1.Path (string) ("") - path to executable
CHT.Softkeys.KeyCustom1.Args (string) ("") - cmd line arguments
CHT.Softkeys.KeyCustom1.Icon (string) ("") - path to key icon
CHT.Softkeys.KeyCustom2.Path (string) ("")
CHT.Softkeys.KeyCustom2.Args (string) ("")
CHT.Softkeys.KeyCustom2.Icon (string) ("")
CHT.Softkeys.KeyCustom3.Path (string) ("")
CHT.Softkeys.KeyCustom3.Args (string) ("")
CHT.Softkeys.KeyCustom3.Icon (string) ("")

### lots of new options for the lickscreen
CHT.Lock.Enabled (bool) (0) - enable CHT Lockscreen
---
CHT.Lock.OnDispOff (bool) (0) - lock device on screen off **WinMo 6.5 only**
CHT.Lock.OnStandbyWM61 (bool) (0) - lock device on standby **WinMo 6.1 only**
CHT.Lock.OnPluggedInUnlock (bool) (0)
CHT.Lock.OnPluggedOutLock (bool) (0)
CHT.Lock.AfterPhoneCall (bool) (0) - lock after phone call **WinMo 6.5 only**
--
CHT.Lock.ProximityBacklightOff (bool) (0) - while locked, turn off backlight based on proximity senser (good for pocket protection) - only works on devices with a proximity sensor
CHT.Lock.TimeoutForProximityLock (0-5) (3) - seconds to delay lock after proximity triggered screen off
---
CHT.Lock.UnlockMode (0-2) (2) - 0 is Manila style, 1 is WM style and 2 is the HDmini style unlocker
---
CHT.Lock.SliderShortcuts (0-2) (2)
---
CHT.Lock.VibrateOnPress (bool) (0)
CHT.Lock.AnimationOnLock (bool) (0)
CHT.Lock.InvertSlider (bool) (0) - invert the manila style slider to unlock from right to left

### switches - not for the editor
CHT.State.ProximityActivate (bool) (0) - always turn off backlight based on proximity sensor (don't turn back on)
CHT.State.ProximityRelight (bool) (0) - relight screen after move off from poximity sensor

### affects all lists
CHT.Lists.ScrollEnabled (bool) (1)

### DoNotRepeatMultiday is new
CHT.Appointments.DaysRange (1-31) (7) - days to look ahead for appointments
CHT.Appointments.MaxCount (1-99) (20) - max number of appointments to load
CHT.Appointments.OpenInAppEditor (bool) (0)
CHT.Appointments.DoNotRepeatMultiday (bool) (0) - set to only show multiday appointments once
---
CHT.Appointments.ShowAppointments (0-2) (1)
---
CHT.Appointments.ShowCallHistory (0-2) (2)
---
CHT.Appointments.ShowVoicemail (0-2) (2)
---
CHT.Appointments.UpdateMode (0-1) (0) - 0 - manila 19xx appointment update mode, 1 - manila 20xx update mode

### new: task app integration, popup menu for complete/delete
CHT.Task.Days (1-99) (7)
CHT.Task.Max (1-99) (20)
CHT.Task.WithCompleted (bool) (1) - show completed tasks in the list
CHT.Task.ShowBothDates (bool) (0)
CHT.Task.PopUpOnLongPress (bool) (1) - if enabled a popup menu will be available to complete/delete a task
---
CHT.Task.Sort (0-1) (0) 0 - by due date, 1 - by start date
---
CHT.Task.TodayColor (color) ("")
CHT.Task.CompletedColor (color) ("")
CHT.Task.DueColor (color) ("")
--
CHT.Task.CmdLineEdit (string) ("") - cmd line for directly opening a task with app defined in program links
CHT.Task.CmdLineNew (string) ("") - cmd line for creating a new task with app defined in program links

### clock settings
CHT.ClockFlip.DisableDoubleFlip (bool) (0)
CHT.ClockFlip.DisableMinuteFlip (bool) (0)
---
CHT.ClockAnalog.ShowSecondHand (bool) (0)
CHT.ClockAnalog.AMPMColor (0-10) (0)
CHT.ClockAnalog.Location (0-numLocations) (0) - show time from different location on the analog clock ( 0 is the currect system time (be it "My Location" or a different selected location),
1 is the first city (second item) in the World Clock menu, 2 is the second city (third item) etc.)
### misc settings
---
CHT.Animations.Level (0-3) (2)
CHT.Animations.WobbleWidgets (bool) (0)
CHT.Misc.SunRaysEnabled (bool) (1)
CHT.Animations.OriginalFlipClock (bool) (0) - restores the original flip clock animation
---
CHT.Titlebar.ShowLockToggler (bool) (0)
CHT.Titlebar.ShowCHTSIcons (bool) (0)
CHT.Titlebar.ShowPageIndicator (bool) (1)
CHT.Titlebar.ShowLevelIndicator (bool) (0)
CHT.Titlebar.LevelIndicatorColor (color) ("")
---
CHT.RetractableSlider.Enabled (bool) (0)
CHT.RetractableSlider.Timeout (0-30) (2)
---
CHT.Text.MainColor (color) ("")
CHT.Text.SubColor (color) ("")
---
CHT.Wall.Mode (0-2) (0) - changed the default to 0 (regular)
---
WallpaperFolder (string) ("\My Documents\My Wallpapers\")
CHT.Misc.CustomOperatorName (string) ("")
CHT.Misc.LinkTabPriority (bool) (0) - if 1 tabs will take priority over widgets when pressing sms/email links
CHT.Switch.BluetoothDiscoverable (bool) (0) - toggle swith turns on bluetooth in discoverable mode

### program links
CHT.ProgramLink.Alarm (string) ("")
CHT.Switch.BluetoothProgram (string) ("")
CHT.ProgramLink.Calendar (string) ("")
CHT.ProgramLink.CallHistory (string) ("")
CHT.ProgramLink.Clock (string) ("")
CHT.ProgramLink.Date (string) ("")
CHT.ProgramLink.Email (string) ("")
CHT.ProgramLink.Messages (string) ("")
CHT.ProgramLink.Tasks (string) ("")
CHT.ProgramLink.Voicemail (string) ("")
CHT.ProgramLink.Weather (string) ("")