StatusBar Interface Reference

Represents a control that displays panels and information in a horizontal bar in an application window. More...

Inheritance diagram for StatusBar:

Inheritance graph
Collaboration diagram for StatusBar:

Collaboration graph
List of all members.

Public Member Functions

 Remove ([in] VARIANT Index)
 Call this method to remove one panel.
 Clear ()
 Call this method to remove all panels.
 ExChange ([in] VARIANT A,[in] VARIANT B)
 Swaps the position of two panels.
 Add ([in] LONG Width,[in, defaultvalue(BS_LOWERED)] LONG Border,[out, retval] IDispatch **pItem)
 This method creates a new StatusItem object.

Properties

VARIANT_BOOL RW Simple []
 Specifies that the StatusBar is a simple status bar.
VARIANT_BOOL RW SizeGrip []
 Specifies that the size box is visible or not.
LPUNKNOWN R _NewEnum []
 Returns the enumerator for the collection.
VARIANT R Item [[in] long Index] []
 Returns the specified item in the collection.
long R Count []
 Returns the number of items in the collection.
IDispatch *RW Images []
 Determines which ImageList is linked with the StatusBar.

Detailed Description

Represents a control that displays panels and information in a horizontal bar in an application window.

The StatusBar object is an collection of StatusItem.


Member Function Documentation

Add ( [in] LONG  Width,
[in, defaultvalue(BS_LOWERED)] LONG  Border,
[out, retval] IDispatch **  pItem 
)

This method creates a new StatusItem object.

Parameters:
Width Width of the StatusItem.
Border of the StatusItem.
Return values:
pItem StatusItem object.

Clear (  ) 

Call this method to remove all panels.

ExChange ( [in] VARIANT  A,
[in] VARIANT  B 
)

Swaps the position of two panels.

Parameters:
A The index of the first panel or the panel itself.
B The index of the second panel or the panel itself.

Remove ( [in] VARIANT  Index  ) 

Call this method to remove one panel.

Parameters:
Index The index of the panel.


Property Documentation

LPUNKNOWN R _NewEnum

Returns the enumerator for the collection.

long R Count

Returns the number of items in the collection.

IDispatch* RW Images

Determines which ImageList is linked with the StatusBar.

See also ImageIndex.

VARIANT R Item[[in] long Index] (  ) 

Returns the specified item in the collection.

VARIANT_BOOL RW Simple

Specifies that the StatusBar is a simple status bar.

In this mode the StatusBar displays one panel with text specified by the Text property.

VARIANT_BOOL RW SizeGrip

Specifies that the size box is visible or not.


WSO 1.1 Documentation. Date modified:Wed Aug 12 18:13:12 2015. (C) Veretennikov A. B. 2004-2015