[Windows Mobile Development and Hacking General] tweakradje:
10) wxDrawStringEx that show format string parameter is the (group number, size, on top, left left, width, layout (0 - left home, 1 - in the middle, 2 - right of abode), color (# 000000 - # FFFFFF ), Thickness (0-1000,400 general, is a bold 700), string), such as:

wxDrawStringEx=1,9,96,20,200,1,#00FF00,700,{BatteryPercent}%

Said in the skin (96,20) coordinates, the width of 200, show that in the middle of the font size to 9 Green (# 00FF00) string "bold in the middle - the remaining battery (BatteryPercent)%", the string will be automatically replaced by The corresponding data. 分组为1 1 packet

(* Note: The font size, on the left, width, composition, size, the string can support the operation variables)

11) wxDrawClock indicators that show the clock, is a parameter (code division, on top, left left, the clock pointer catalog), such as:

wxDrawClock=1,10,0,VistaClock

Said in the skin (10,0) coordinates, the indicator shows the clock, picture directory for Skins\VistaClock

The system will load and rendering the following order of 6 files (if the file does not exist ignored), group 1

Use this command, suggested that the second.PNG file name to simply remove, the show will be handed over to the

second hand wxSecondDraw instructions (wxSecondDraw order to reduce the occupancy rate of CPU and power supply)

a) face.png (dial)

b) hour.png (clock)

c) minute.png (minute)

d) second.png (seconds, dont use, use wxSecondDraw command instead)

e) dot.png (the center)

f) hilight.png (Highlight)

(* Note: on the left and catalog operations can support variable)

12) wxSecondDraw per second that PNG image rendering or display string parameter is the (group number on the top, left left, width width, height height, picture rotation (0 - does not rotate, 1 - According to the second rotation, 2 -- String output), PNG image format or string)

wxSecondDraw=1,10,30,60,60,1,Sec.png

Per second that will be designated by png image after the second rotation to draw on the screen,

wxSecondDraw=1,10,30,60,60,2,9,1,#00FF00,700,{SS}%

10,30,60,60 per second in the region, said the size of the output to 9, in the middle for the typesetting, color # 00FF00, thickness of the string of 700 "s current (SS)%"

(* Note 1: This command shows that the use of refreshes is a partial manner, the window does not refresh other regions, so great and save CPU power)

(* Note 2: Recommended for users wxSecondDraw to carry out the second set, to renounce the use of the way Refresh = 2)

(* Note 3: on the left, width, height, picture or name of the string to support variables can be computing)

(* Note 4: This command only allowed to use a script, if repeated, with the last date)

(* Note 5: png images to designated areas in the center show that when using the rotary manner, the designated area width and height should be not less than the width of a high degree of png images of the maximum)

(* Note 6: String output format for the "size, layout, color, size, string," a reference to the use of specific instructions wxDrawStringEx)

13) wxClickAction in an area that received after the user clicks on the trigger, is a parameter (group number, the Top, Left Left, the width Width, a high degree of Height, type of incident), the string event (to start the program or path to open The skin file name or type of parameters corresponding events), the incident can not be an empty string,

wxClickAction=4,16,80,72,80,0,{MainDir}\tmail.exe -transport "SMS"

That the skin in the region (16,80,72,80) received after the user clicks to open the SMS, group 4

wxClickAction=8,16,160,72,80,1,skin2.ini,1,20,0,60,60

That the skin in the region (16,160,72,80) receive a user clicks later, the replacement skin for skin2.ini, Packet 8, random switching animation, animation on the left wide-area high 20,0,60,60

wxClickAction=8,16,160,72,80,2,abc

That the skin in the region (16,160,72,80) receive a user clicks on, unlimited access to today's setting, groups of 8, because of the incident can not be an empty string, so instead of abc

wxClickAction=16,16,160,72,80,3,abc

That the skin in the region (16,160,72,80) received after the user clicks on and immediately set, the group of 16, due to the incident can not be an empty string, so instead of abc

wxClickAction=32,16,160,72,80,4,2,0,0,0,0,0

That the skin in the region (16,160,72,80) receive a user clicks, the group designated for the No. 2 group of 32, without switching animation, animation on the left wide-area high for 0,0,0,0

(* Note 1: on the left, width, height, type of event to support the operation can be variable, string events in the way of special effects, on the left, width, height can also support the operation variables)

(* Note 2: This document lists all the events at the rear of the number and types of features as well as the string of events that format)

14) wxBarRect "taskbar skin," covered the region (as opposed to the system tray coordinates), the parameters are: (display (0 - do not show that 1 - according to a given region showed that 2 - the whole show taskbar), On top, left left, wide-width, high-height, filled with color (# 000000 - # FFFFFF)), for example:

wxBarRect=2,0,0,0,0,#FF0000

"Taskbar skin" covering the entire system tray area, the background color to red

wxBarRect=1,0,25,150,28,#0000FF

"Taskbar skin" covering the system tray region 0,25,150,28) (rectangular area, the background color to blue

(* Note: This command does not support system variables and computing variables)

15) wxBarDrawPic said that the "taskbar skin" to show pictures, the parameters are: (code division, on top, left left, wide-width, high-hight, transparent color # 000000 - # FFFFFF, 0 said that the lack of transparency, the image file name ), Such as:

wxBarDrawPic=1,2,2,60,20,#000000,clock16.bmp

(* Note: on the left are relative to the coordinates of the taskbar skin, similar to other parameters wxDrawPic detailed instructions)

16) wxBarDrawStringEx said that the "Taskbar Skin" show format string parameter is the (group number, size, on top, left left, width, layout (0 - left home, 1 - in the middle, 2 - right of abode), Color (# 000000 - # FFFFFF), thickness (0-1000,400 general, is a bold 700), string), such as:

wxBarDrawStringEx=1,9,96,20,200,1,#00FF00,700,Remaining battery {BatteryPercent}%

(* Note: on the left are relative to the coordinates of the taskbar skin, similar to other parameters wxDrawStringEx detailed instructions)

17) wxBarClickAction said that the "taskbar skin," an area to receive the user to click on the trigger after the incident, the parameter is the (group number on the Top, Left Left, the width Width, a high degree of Height, the type of event, the event string (not Empty, please refer to the parameters of command wxClickAction))

wxBarClickAction=4,16,80,72,80,7,abc

(* Note: on the left are relative to the coordinates of the taskbar skin, similar to other parameters wxClickAction detailed instructions)

18) wxGestureRect click said this mouse gesture region after the beginning of the operation parameters (code division, on top, left left, wide-width, high-height, it shows that the mouse trajectory (0 - do not show that 1 - show), track Color (# 000000 - # FFFFFF))

wxGestureRect=1,50,20,30,30,1,#00FF00

That group 1, 50,20,30,30) (Regional Mice gesture for the start of the region, showing track, track for the color green

(* Note: on the left, width, height, it shows that the mouse can track operations in support of variables)

19) wxGestureAction that the user enters the designated mouse gestures after the trigger event, is the parameters (group number sign string combination, the type of event, the event string (not empty, please refer to the parameters of command wxClickAction))

wxGestureAction=1,42314,3,abc

For a group that, when entered by the user moves the mouse gestures to draw a clockwise circle (right -> -> left -> -> right), immediately re-import the file and refresh skin window

(* Note 1: The gesture is a combination of strings based on the user needs to define its own portfolio of actions, is divided into the basic movements, "1,2,3,4" (draw up, draw down, left draw, draw the right), the most 23)

(* Note 2: The combination of gestures string, the type of incident, the incident may support the string variable operation, details of other parameters set wxClickAction similar instructions)

<see next post>