DCX - Dialog Control Xtension
 
Pager
The pager control manages the automatic scrolling of its child controls. This can be created within a dialog, panel or box control. It can contain a toolbar, rebar, panel, tab, box, image, pager, @window or dialog control.

Control Styles
These control styles are available when creating a Pager control. Remember that the general styles disabled, group, hidden, notheme, tabstop and transparent apply to all DCX controls except the embedded Dialog and Window controls.
autoscroll Causes the control to scroll when the mouse is over the scroll button.
horizontal Sets the pager control as horizontal. (Default is vertical)

/xdid flags
Control commands are input to the control with the /xdid command.
/xdid -b
This command lets you sets border width.
Syntax:
/xdid -b [DNAME] [ID] [WIDTH]
Example:
/xdid -b dcx 4 100

/xdid -c
This command lets you create a single child control.
Syntax:
/xdid -c [DNAME] [ID] [CID] [CONTROL] [X] [Y] [W] [H] (OPTIONS)
Example:
/xdid -c dcx 4 12 rebar 10 10 400 25 tabstop
Parameters:
CID Unique control ID for the DCX Control.
CONTROL The type of DCX Control to create. Values can be:
toolbar
box, image
pager, panel, rebar, tab
dialog or window.
X X position of control.
Y Y position of control.
W Width of control.
H Height of control.
OPTIONS Optional styles and options available on each individual controls.
 
Note. If docking a mIRC @Window or mIRC Dialog, the first parameter in OPTIONS must be the @window/dialog name.

/xdid -d
This command lets delete the child control.
Syntax:
/xdid -d [DNAME] [ID] [CID]
Example:
/xdid -d dcx 4 12
Parameters:
CID Control ID for the DCX Control.

/xdid -s
This command lets you set the scroll button size.
Syntax:
/xdid -s [DNAME] [ID] [SIZE]
Example:
/xdid -s dcx 4 10
Parameters:
SIZE Size of the scroll button.

/xdid -t
This command lets sets the background and scroll button color.
Syntax:
/xdid -t [DNAME] [ID] [COLOR]
Example:
/xdid -t dcx 4 $rgb(255,0,255)

/xdid -z
This command the pager to recalculate its size. This should be done after adding a button to a toolbar child control.
Syntax:
/xdid -z [DNAME] [ID]
Example:
/xdid -z dcx 4

$xdid() Properties
The $xdid identifier is a given mIRC alias that communicates with the DCX DLL to extract information in DCX controls.
$xdid().border
This property lets you retreive border size.
Syntax:
$xdid(dialog, ID).border
Example:
$xdid(dcx, 4).border

$xdid().bsize
This property lets you retreive the button size.
Syntax:
$xdid(dialog, ID).bsize
Example:
$xdid(dcx, 4).bsize

$xdid().color
This property lets you retreive the background color.
Syntax:
$xdid(dialog, ID).color
Example:
$xdid(dcx, 4).color

Pager Events
These events are fired when activity occurs in the Pager control.
help
Launched when you click on a control using the ? contexthelp button.
Syntax:
/cb_alias DNAME help ID
Example:
/cb_alias dcx help 4

Contact © 2005-2022 Last Updated: 19th November, 22

Valid XHTML 1.0 Transitional Valid CSS!