By: Yaron Goali (WISERBIT DOT COM) for Microncode.com
User Control: cReBar
Attribute | Value |
Description | Gets/sets the background bitmap file. Has no effect unless it is called before the rebar is created. Note: you can't recreate a rebar at run-time if you have COMCTL32.DLL version lower than 4.71. |
Optional | ByVal/ByRef | Variable | Datatype |
ByVal | sFile | String |
Optional | ByVal/ByRef | Variable | Datatype |
ByVal | lBand | Long |
Attribute | Value |
Description | Gets/sets whether a band will show a chevron if it is sized too small for the contents to fit. (COMCTL32.DLL v5 or higher only) |
Optional | ByVal/ByRef | Variable | Datatype |
ByVal | lBand | Long | |
ByVal | bState | Boolean |
Optional | ByVal/ByRef | Variable | Datatype |
ByVal | lBand | Long |
Attribute | Value |
Description | Gets/sets whether a band draws a narrow internal border around the child control. |
Optional | ByVal/ByRef | Variable | Datatype |
ByVal | lBand | Long | |
ByVal | bState | Boolean |
Optional | ByVal/ByRef | Variable | Datatype |
ByVal | lBand | Long |
Optional | ByVal/ByRef | Variable | Datatype |
ByVal | lBand | Long | |
lWidth | Long |
Optional | ByVal/ByRef | Variable | Datatype |
ByVal | lBand | Long |
Attribute | Value |
Description | Gets/sets the maximum height a band can size to (COMCTL32.DLL v5 or higher only) |
Optional | ByVal/ByRef | Variable | Datatype |
ByVal | lBand | Long | |
lHeight | Long |
Optional | ByVal/ByRef | Variable | Datatype |
ByVal | lBand | Long |
Attribute | Value |
Description | Gets/sets the minimum height of a rebar band. |
Optional | ByVal/ByRef | Variable | Datatype |
ByVal | lBand | Long | |
lHeight | Long |
Optional | ByVal/ByRef | Variable | Datatype |
ByVal | lBand | Long |
Attribute | Value |
Description | Gets/sets the minimum width of rebar band. |
Optional | ByVal/ByRef | Variable | Datatype |
ByVal | lBand | Long | |
lWidth | Long |
Attribute | Value |
Description | Returns the number of bands in the rebar. |
Optional | ByVal/ByRef | Variable | Datatype |
ByVal | wId | Long |
Attribute | Value |
Description | Gets/sets a variant value associated with a band in the rebar. |
Optional | ByVal/ByRef | Variable | Datatype |
ByVal | lBand | Long |
Attribute | Value |
Description | Gets/sets whether a rebar band has a gripper or not. (COMCTL32.DLL v5 or higher only) |
Optional | ByVal/ByRef | Variable | Datatype |
ByVal | lBand | Long | |
ByVal | bState | Boolean |
Optional | ByVal/ByRef | Variable | Datatype |
ByVal | lIndex | Long |
Attribute | Value |
Description | Gets the ID of band given its 0-based index in the rebar. |
Optional | ByVal/ByRef | Variable | Datatype |
ByVal | vData | Variant |
Attribute | Value |
Description | Returns the index of a band given the band's key. |
Optional | ByVal/ByRef | Variable | Datatype |
ByVal | wId | Long |
Attribute | Value |
Description | Returns the internal index of a band given the band's id. |
Optional | ByVal/ByRef | Variable | Datatype |
ByVal | lBand | Long |
Attribute | Value |
Description | Gets/sets whether a rebar band is visible or not. Not available for COMCTL32.DLL version below 4.71. |
Optional | ByVal/ByRef | Variable | Datatype |
ByVal | lBand | Long | |
ByVal | bState | Boolean |
Attribute | Value |
Description | Returns whether a background bitmap is loaded into the rebar or not. |
Attribute | Value |
Description | Returns the window handle of the control. Use RebarhWnd to get the handle of the Rebar itself. |
Optional | ByVal/ByRef | Variable | Datatype |
ByVal | sFile | String |
Attribute | Value |
Description | Sets a bitmap file to be used as the source of the rebar's background bitmap. |
Optional | ByVal/ByRef | Variable | Datatype |
ByVal | picThis | StdPicture |
Attribute | Value |
Description | ets a picture object to be used as the source of the rebar's background bitmap. |
Optional | ByVal/ByRef | Variable | Datatype |
ByVal | picThis | StdPicture |
Optional | ByVal/ByRef | Variable | Datatype |
ByVal | hInstance | Long |
Attribute | Value |
Description | Specifies the hInstance from which to load the resource set by the ImageResourceID property. |
Optional | ByVal/ByRef | Variable | Datatype |
ByVal | lResourceId | Long |
Attribute | Value |
Description | Sets a resource id to be used to be used as the source of the rebar's background bitmap. |
Optional | ByVal/ByRef | Variable | Datatype |
ByVal | eType | ECRBImageSourceTypes |
Attribute | Value |
Description | Specifies which type of bitmap source (file, picture or resource) should be used as the source of the rebar's background bitmap. |
Attribute | Value |
Description | Gets/sets the orientation of the rebar on its container. |
Attributes | Don't show in property browser |
Optional | ByVal/ByRef | Variable | Datatype |
ByVal | ePosition | ERBPositionConstants |
Attribute | Value |
Description | Gets the current height of the rebar. |
Attribute | Value |
Description | Returns the windows handle of the Rebar window. |
Optional | ByVal/ByRef | Variable | Datatype |
ByVal | lBand | Long |
Attribute | Value |
Description | Gets/sets whether the entire rebar will be visible or not. |
Optional | ByVal/ByRef | Variable | Datatype |
ByVal | bState | Boolean |
Attribute | Value |
Description | Attempts to automatically move the Rebar bands so they best fit the specified rectangle (in pixels relative to the rebar's container). Not available for COMCTL32.DLL version below 4.71. |
Optional | ByVal/ByRef | Variable | Datatype |
ByVal | lBand | Long | |
ByVal | lWidth | Long | |
ByVal | lHeight | Long |
Optional | ByVal/ByRef | Variable | Datatype |
ByVal | lBand | Long |
Attribute | Value |
Description | Maximises a rebar band in the current layout. |
Optional | ByVal/ByRef | Variable | Datatype |
ByVal | lBand | Long |
Attribute | Value |
Description | Minimises a rebar band in the current layout. |
Optional | ByVal/ByRef | Variable | Datatype |
ByVal | lBand | Long | |
ByVal | lIndexTo | Long |
Attribute | Value |
Description | Moves a band from one position to another. All bands in lower positions are moved up. Not available for COMCTL32.DLL version below 4.71. |
Attribute | Value |
Description | Removes all bands from a rebar and clears all resources associated with it. |
Attribute | Value |
Description | Removes all bands from a rebar and clears all resources associated with it without posting a destroy window message to any children. |
Optional | ByVal/ByRef | Variable | Datatype |
ByVal | lBand | Long | |
Optional | ByRef | lLeft | Long |
Optional | ByRef | lTop | Long |
Optional | ByRef | lRight | Long |
Optional | ByRef | lBottom | Long |
Attribute | Value |
Description | Returns the internal bounding rectangle for a rebar band. Not available for COMCTL32.DLL version below 4.71. |
Attribute | Value |
Description | Sizes the rebar to the parent object. |
Attribute | Value |
Description | Removes all bands from the rebar. To prevent controls not terminating when a form unloads because they are contained by a different parent, call this method. |
Optional | ByVal/ByRef | Variable | Datatype |
ByVal | lBand | Long |
Attribute | Value |
Description | Removes a specified band from the rebar control. |
Optional | ByVal/ByRef | Variable | Datatype |
ByVal | sXml | String | |
ByRef | sData() | String | |
ByRef | lhWnd() | Long |
Optional | ByVal/ByRef | Variable | Datatype |
ByVal | hWnd | Long | |
Optional | ByVal | sBandText | String("") |
Optional | ByVal | bBreakLine | Boolean(True) |
Optional | ByVal | bFixedSize | Boolean(False) |
Optional | ByVal | vData | Variant |
Attribute | Value |
Description | Adds a band to the rebar and sets the band to contain the window with the specified hWnd. |
Optional | ByVal/ByRef | Variable | Datatype |
ByVal | hWndParent | Long | |
ByVal | hWnd | Long | |
ByVal | ePosition | ERBPositionConstants |
Attribute | Value |
Description | Adds a control to the list of objects to be considered when resizing a rebar on screen. Other rebars are automatically taken into account. |
Optional | ByVal/ByRef | Variable | Datatype |
ByVal | hWndParent | Long |
Attribute | Value |
Description | Initialises a rebar for use and allows you to specify the host window for the rebar. For a standard form, this should be the form. For an MDI form, this should be a PictureBox aligned to the top of the MDI form. |
Optional | ByVal/ByRef | Variable | Datatype |
ByVal | wId | Long | |
ByVal | lBandLeft | Long | |
ByVal | lBandTop | Long | |
ByVal | lBandRight | Long | |
ByVal | lBandBottom | Long | |
ByRef | lChildLeft | Long | |
ByRef | lChildTop | Long | |
ByRef | lChildRight | Long | |
ByRef | lChildBottom | Long |
Optional | ByVal/ByRef | Variable | Datatype |
ByVal | wId | Long | |
ByRef | bCancel | Boolean |
Optional | ByVal/ByRef | Variable | Datatype |
ByVal | wId | Long | |
ByVal | lLeft | Long | |
ByVal | lTop | Long | |
ByVal | lRight | Long | |
ByVal | lBottom | Long |
Optional | ByVal/ByRef | Variable | Datatype |
ByVal | wId | Long |
Optional | ByVal/ByRef | Variable | Datatype |
lNewHeight | Long |