By: Yaron Goali (WISERBIT DOT COM) for Microncode.com
User Control: cStatusBar
Optional | ByVal/ByRef | Variable | Datatype |
ByVal | oColor | OLE_COLOR |
Attribute | Value |
Description | Gets/sets the back colour of the status bar control. |
Attribute | Value |
Description | Gets/sets whether the control is enabled. |
Optional | ByVal/ByRef | Variable | Datatype |
ByVal | bState | Boolean |
Attribute | Value |
Description | Gets/sets the font used to draw the status bar panels. |
Optional | ByVal/ByRef | Variable | Datatype |
fntThis | StdFont |
Optional | ByVal/ByRef | Variable | Datatype |
vThis | Variant |
Attribute | Value |
Description | Associates an ImageList with the status bar. The ImageList can either be a COMCTL32.OCX image list, a vbAccelerator image list or a long hImageList handle to an image list created using the COMCTL32.DLL API. |
Attribute | Value |
Description | Gets the number of panels in the status bar. |
Optional | ByVal/ByRef | Variable | Datatype |
ByVal | vKey | Variant | |
ByVal | bState | Boolean |
Attribute | Value |
Description | Gets/sets whether a panel should automatically size to its contents. |
Optional | ByVal/ByRef | Variable | Datatype |
ByVal | vKey | Variant |
Optional | ByVal/ByRef | Variable | Datatype |
ByVal | vKey | Variant |
Attribute | Value |
Description | Gets/sets an icon handle to draw in a panel. If reading this property, do not call DestroyIcon the returned hIcon - it is a handle to the actual icon used by the control, not a copy. If setting this property, the hIcon will be automatically destroyed w |
Optional | ByVal/ByRef | Variable | Datatype |
ByVal | vKey | Variant | |
ByVal | hIcon | Long |
Optional | ByVal/ByRef | Variable | Datatype |
ByVal | vKey | Variant |
Attribute | Value |
Description | Gets/sets the 0 based index of an image in the associated image list to display in a panel. |
Optional | ByVal/ByRef | Variable | Datatype |
ByVal | vKey | Variant | |
ByVal | iImgIndex | Long |
Optional | ByVal/ByRef | Variable | Datatype |
ByVal | vKey | Variant |
Attribute | Value |
Description | Gets/sets the width of the panel calculated for auto-sizing panels. |
Optional | ByVal/ByRef | Variable | Datatype |
ByVal | vKey | Variant | |
ByVal | lWidth | Long |
Optional | ByVal/ByRef | Variable | Datatype |
ByVal | vKey | Variant |
Attribute | Value |
Description | Returns the index of a panel given the panel's key. |
Optional | ByVal/ByRef | Variable | Datatype |
ByVal | lIndex | Long |
Attribute | Value |
Description | Gets/sets the key used to identify a panel. |
Optional | ByVal/ByRef | Variable | Datatype |
ByVal | lIndex | Long | |
ByVal | vKey | Variant |
Optional | ByVal/ByRef | Variable | Datatype |
ByVal | vKey | Variant |
Attribute | Value |
Description | Gets/sets the minimum allowable width for a panel. Note that icons and the sizing grip add additional width to the minimum. |
Optional | ByVal/ByRef | Variable | Datatype |
ByVal | vKey | Variant | |
ByVal | bState | Boolean |
Attribute | Value |
Description | Gets/sets whether a panel springs to fit the available space. Only one panel at a time can have the spring property set to true. |
Optional | ByVal/ByRef | Variable | Datatype |
ByVal | vKey | Variant |
Optional | ByVal/ByRef | Variable | Datatype |
ByVal | vKey | Variant | |
ByVal | eStyle | ESTBRPanelStyle |
Attribute | Value |
Description | Gets/sets the style used to draw a panel. |
Optional | ByVal/ByRef | Variable | Datatype |
ByVal | vKey | Variant |
Optional | ByVal/ByRef | Variable | Datatype |
ByVal | vKey | Variant | |
ByVal | sText | String |
Attribute | Value |
Description | Gets/sets the text to show in a panel. |
Optional | ByVal/ByRef | Variable | Datatype |
ByVal | vKey | Variant |
Optional | ByVal/ByRef | Variable | Datatype |
ByVal | vKey | Variant | |
ByVal | sText | String |
Attribute | Value |
Description | Gets/sets the tool tip text to show in a panel. Note that tool tips are only displayed for panels that have an icon and either have no text or not all text is visible in the panel. |
Optional | ByVal/ByRef | Variable | Datatype |
ByVal | vKey | Variant |
Attribute | Value |
Description | Gets/sets whether the status bar works in simple mode (a single panel only) or normal mode, |
Optional | ByVal/ByRef | Variable | Datatype |
ByVal | bState | Boolean |
Attribute | Value |
Description | Gets/sets the style used to draw the status bar when it is in Simple Mode. |
Optional | ByVal/ByRef | Variable | Datatype |
ByVal | eStyle | ESTBRSimplePanelStyle |
Optional | ByVal/ByRef | Variable | Datatype |
ByVal | sText | String |
Attribute | Value |
Description | Gets/sets the text displayed in the status bar when in simple mode. Note this text is independent of any panels added to the control. |
Attribute | Value |
Description | Gets/sets whether a sizing grip will be displayed at the right-hand bottom corner of the status bar. |
Optional | ByVal/ByRef | Variable | Datatype |
ByVal | bSizeGrip | Boolean |
Optional | ByVal/ByRef | Variable | Datatype |
ByVal | vKey | Variant | |
Optional | ByRef | iLeftPixels | Long |
Optional | ByRef | iTopPixels | Long |
Optional | ByRef | iRightPixels | Long |
Optional | ByRef | iBottomPixels | Long |
Attribute | Value |
Description | Gets the outside bounding rectangle of a panel in the control. |
Optional | ByVal/ByRef | Variable | Datatype |
ByVal | vKey | Variant |
Attribute | Value |
Description | Forces a panel to redraw. |
Optional | ByVal/ByRef | Variable | Datatype |
Optional | ByVal | eStyle | ESTBRPanelStyle(estbrStandard) |
Optional | ByVal | sText | String("") |
Optional | ByVal | sToolTipText | String("") |
Optional | ByVal | iImgIndex | Long(-1) |
Optional | ByVal | lMinWidth | Long(64) |
Optional | ByVal | bSpring | Boolean(False) |
Optional | ByVal | bFitContents | Boolean(False) |
Optional | ByVal | lItemData | Long(0) |
Optional | ByVal | sKey | String("") |
Optional | ByVal | vKeyBefore | Variant |
Attribute | Value |
Description | Adds or inserts a panel to the status bar control. |
Optional | ByVal/ByRef | Variable | Datatype |
ByVal | vKey | Variant |
Attribute | Value |
Description | Removes a panel from the control. |
Optional | ByVal/ByRef | Variable | Datatype |
ByVal | iPanel | Long | |
ByVal | x | Single | |
ByVal | Y | Single | |
ByVal | eButton | MouseButtonConstants |
Optional | ByVal/ByRef | Variable | Datatype |
ByVal | iPanel | Long | |
ByVal | x | Single | |
ByVal | Y | Single | |
ByVal | eButton | MouseButtonConstants |
Optional | ByVal/ByRef | Variable | Datatype |
ByVal | lHDC | Long | |
ByVal | iPanel | Long | |
ByVal | lLeftPixels | Long | |
ByVal | lTopPixels | Long | |
ByVal | lRightPixels | Long | |
ByVal | lBottomPixels | Long |