Show |
1 | 0 |
Visible or not |
Disable |
1 | 0 |
Whether the control is disabled |
Pos |
Location |
The coordinates of the widget, which can be the coordinates of the upper left corner, for example, 10 or 10, or the upper left corner or the lower right corner, for example, 10, 10, or 200,100. Positive and negative values are supported. positive values indicate the values calculated from the upper left corner of the parent control. negative values indicate the values calculated from the lower right corner of the parent control. For example,-10, 10 indicates 10 pixels from the right to the left, 10 pixels from top to bottom. The coordinates calculated from the middle of the parent control can also be used. | represents the center position, for example, | 10, |-10 represents the center to the right of the horizontal center, and the center to the top of the vertical 10 pixel position. Width numeric control width Height numeric control height |
Action |
String |
The action string of the control. It indicates the action executed after the control is clicked. There are several types of actions: 1. dlg: xxxx: displays the specified dialog box. The displayed dialog box can be an xml definition file, it can also be a definition (search for a specific xml definition file from the resource definition file) 2. menu: xxxx. xml, indicating that the specified menu is displayed. The menu definition file is the specified xml file. 3. link: url, indicating that the specified link or file is opened using a browser or other default programs 4. run: xxx.exe | param indicates to run the specified program. You can pass the command line. The executed program is separated by |. | the subsequent code indicates the passed command line parameters. |
Menupos |
Location |
Coordinates of the position displayed in the menu, which must be in the form of x, y, dx, and dy (dx and dy are optional ). X and y indicate coordinates in the upper left corner of the menu, for example, 10 or 10. Supports positive and negative values. positive values indicate the values calculated from the upper left corner of the Control. negative values indicate the values calculated from the lower right corner of the parent control. For example,-10, 10 indicates 10 pixels from the right to the left, 10 pixels from top to bottom. You can also use | to represent the center position, for example, | 10, |-10 to represent the center to the right of the horizontal center, and the center to the top 10 pixels. Dx and dy are optional, indicating the display direction of the menu. The default value is positive. If dx is a negative value, it indicates the display direction to the left. If dy is a negative value, it indicates the upward display direction. |
Tip |
String |
Defines the tip information that will appear when you move the cursor over the space for a period of time. The tip information can only be defined by the basic control of the dialog box. Other controls have no effect even if they are defined. |
Tip-width |
Number |
Tooltip width. The default value is 0. This value is valid only when it is set to greater than 0. |
Response |
1 | 0 |
Whether the control can respond to mouse events. If you do not want the control to respond to mouse events, you can set this attribute to 0. |
Tabstop |
1 | 0 |
Whether the control can respond to the focus switching event, that is, whether the focus can be switched to the control by pressing the keyboard tab key |
Taskmsg |
1 | 0 |
Whether to use the task method when calling the Event Response Function. You should use the task method for processing operations that may cause blocking or time-consuming operations to avoid interface non-response or interface exceptions. |
Img-ecm |
1 | 0 |
Whether to use the color management information of the image. The default value is 0, indicating that the system color management information is used when the image file is loaded instead of the color management information of the image, because the GDI + module provided by the operating system before XP SP1 may not support color management information of the image itself, if it is set to 1, images running on systems earlier than XP SP1 may not be displayed properly |
Shortcut |
String |
Define the shortcut key of the control. For the shortcut key string, refer to the corresponding chapter in chapter 2. When you press the corresponding shortcut key, the control is automatically triggered to generate an event where the mouse is pressed and the mouse is opened, simulate clicking this control |
Cursor |
String |
Define the mouse cursor of the control. If the mouse is defined, the specified mouse cursor will be displayed when you move the mouse to the control range. Currently, the predefined mouse cursor is supported, which are: Arrow-arrow; Wait-Hourglass wait; Cross-cross; Sizewe-Double arrow pointing to something; Sizens-the dual arrow points to the north and south; Hand-hand type; Help-arrow + question mark |
Duimsg |
String |
Specify the DUI messages that the control will send. The message names are separated by |, for example, "msg1 | msg2 | msg3 ". Currently, the following message names are supported: Mousemove-send the message of moving the mouse and leaving the control Mouseldown-send the message with the left mouse button pressed Mouselup-send a message with the left mouse button opened Mouseldblclk-send the message with the left mouse button double-clicking Keydown-send the message for pressing the keyboard |