| borders |
Borders appear between rebar bands. |
| bottom |
The rebar is auto-positioned at bottom of dialog window. |
| dblclktoggle |
Double click on band text toggles min/max resizing of the band. (Single click is default) |
| fixedorder |
Bands are always in the same order but can be dragged on different lines/columns. |
| noparentalign |
The rebar isnt auto-positioned when dialogs size changes. |
| noresize |
The rebar isnt auto-resized when dialogs size changes. |
| right |
The rebar is auto-positioned to the right side of the dialog (must be used with vertical style). |
| tooltips |
The rebar bands have tooltips. |
| varheight |
The rebar control displays bands at the minimum required height, when possible. Without this style, the rebar control displays all bands at the same height, using the height of the tallest visible band to determine the height of other bands. Even if this style is applied, bands on the same row will display the height of the highest band on that row. |
| vertical |
The rebar is auto-positioned to the left side of the dialog (gives a vertical rebar). |
| verticalgrip |
The size grip will be displayed vertically instead of horizontally in a vertical rebar control. (must be used with vertical) |
|
/xdid -a |
| This command lets you add bands to the rebar. These bands can optionally host a supported child control. |
| Syntax: |
/xdid -a [DNAME] [ID] [N] [+FLAGS] [CX] [CY] [WIDTH] [ICON] [COLOR] (TEXT) [TAB] [CID] [CONTROL] [X] [Y] [W] [H] (OPTIONS) [TAB] (TOOLTIP) |
| Example: |
/xdid -a dcx 4 0 +f 0 25 20 2 ComboEx $chr(9) 12 comboex 10 10 400 25 dropedit $chr(9) Tooltip |
| Parameters: |
| N |
Band position index number (Use 0 to insert at the end). |
| +FLAGS |
Item flags. |
| c |
The button text is colored, using COLOR as the text color. (Only works with notheme) |
| e |
The band has an edge at the top and bottom of the child window. |
| f |
The band cant be sized. With this style, the sizing grip is not displayed on the band. |
| g |
The band will always have a sizing grip, even if it is the only band in the rebar. |
| h |
The band will not be visible. |
| n |
The band will never have a sizing grip, even if there is more than one band in the rebar. |
| w |
The band is on a new line. |
| CX |
Minimal width to which the rebar band child control can be resized. |
| CY |
Minimal height to which the rebar band child control can be resized. |
| WIDTH |
Width of the rebar band when created. |
| ICON |
Icon index to be displayed (Use 0 for no icon). |
| COLOR |
Rebar band text color (Only works with XP themes disabled). |
| TEXT |
Band text. |
| CID |
Unique control ID for the DCX Control. Must be unique for all the controls of the dialog! |
| CONTROL |
The type of DCX Control to be created. |
| pbar |
Creates a Progressbar control. |
| treeview |
Creates a TreeView control. |
| toolbar |
Creates a Toolbar control. |
| statusbar |
Creates a Statusbar control. |
| comboex |
Creates a ComboEx control. |
| listview |
Creates a Listview control. |
| trackbar |
Creates a Trackbar control. |
| colorcombo |
Creates a ColorCombo control. |
| button |
Creates a Button control. |
| richedit |
Creates a RichEdit control. |
| |
|
| divider |
Creates a Divider control. |
| panel |
Creates a Panel control. |
| tab |
Creates a Tab control. |
| 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. |
| TOOLTIP |
Band tooltip. Not functional yet. |
| |
Note.- The control is optional. You can use the tab control without child controls as a toolbar (like bar of buttons).
- If you are using the vertical style, CX, CY, and WIDTH are the minimal height, minimal width, and height values.
- If the band is the last one created on a band row, the WIDTH value is ignored and the band stretches to the end of the rebar control.
- The control part of the command is optional and can be empty if you do not wish to have a control in the band.
|