- Index
- General Usage
- DCX Controls
- DCX Features
- About DCX
|
Text |
Regular text control. Used for labels or captions.
|
| alpha |
Control is alpha blended. |
| center |
Control text is centered. |
| endellipsis |
If the end of a string does not fit in the rectangle, it is truncated and ellipses (...) are added. |
| noprefix |
Prevents interpretation of any ampersand (&) characters in the control's text as accelerator prefix characters. These are displayed with the ampersand removed and the next character in the string underlined. |
| nowrap |
Single line of text (default is multiline) (not compatible with center or right). |
| pathellipsis |
Replaces characters in the middle of the string with ellipses so that the result fits in the specified rectangle. If the string contains backslash (\) characters, pathellipsis preserves as much as possible of the text after the last backslash. |
| right |
Control text is right aligned. |
| shadow |
Display text with a shadow. |
| tooltips |
The text control will have a tooltip. |
| | | Note. shadow will only work if the text color is not black or the same as the default text color on the current windows theme (ie. $rgb(0, 0, 0) or $dcx(GetSystemColor, COLOR_WINDOWTEXT) respectively). Change it by using xdid -C |
/xdid flags |
| Control commands are input to the control with the /xdid command. |
|
/xdid -t |
| This command lets you set the text. |
| Syntax: |
/xdid -t [DNAME] [ID] (Text) |
| Example: |
/xdid -t dcx 4 Text Label |
$xdid() Properties |
| The $xdid identifier is a given mIRC alias that communicates with the DCX DLL to extract information in DCX controls. |
|
$xdid().text |
| This property lets you retreive the text. |
| Syntax: |
$xdid(dialog, ID).text |
| Example: |
$xdid(dcx, 4).text |
Text Events |
| These events are fired when activity occurs in the Text control. |
|
dclick |
| When the text is double-clicked. |
| Syntax: |
/cb_alias DNAME dclick ID |
| Example: |
/cb_alias dcx dclick 4 |
|
help |
| Launched when you click on a control using the ? contexthelp button. |
| Syntax: |
/cb_alias DNAME help ID |
| Example: |
/cb_alias dcx help 4 |
|
rclick |
| When you right-click on the text. |
| Syntax: |
/cb_alias DNAME rclick ID |
| Example: |
/cb_alias dcx rclick 4 |
|
sclick |
| When the text is clicked. |
| Syntax: |
/cb_alias DNAME sclick ID |
| Example: |
/cb_alias dcx sclick 4 |
|