TimoSoft StatusBar  1.3.3.129
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Properties Pages
_IStatusBarEvents Interface Reference

The StatusBar class' events interface More...

Public Member Functions

void Click (IStatusBarPanel *panel, SHORT button, SHORT shift, OLE_XPOS_PIXELS x, OLE_YPOS_PIXELS y, HitTestConstants hitTestDetails)
 The user clicked into the control's client area More...
 
void ContextMenu (IStatusBarPanel *panel, SHORT button, SHORT shift, OLE_XPOS_PIXELS x, OLE_YPOS_PIXELS y, HitTestConstants hitTestDetails)
 The context menu should be displayed More...
 
void DblClick (IStatusBarPanel *panel, SHORT button, SHORT shift, OLE_XPOS_PIXELS x, OLE_YPOS_PIXELS y, HitTestConstants hitTestDetails)
 The user double-clicked into the control's client area More...
 
void DestroyedControlWindow (LONG hWnd)
 The control window was destroyed More...
 
void MClick (IStatusBarPanel *panel, SHORT button, SHORT shift, OLE_XPOS_PIXELS x, OLE_YPOS_PIXELS y, HitTestConstants hitTestDetails)
 The user clicked into the control's client area More...
 
void MDblClick (IStatusBarPanel *panel, SHORT button, SHORT shift, OLE_XPOS_PIXELS x, OLE_YPOS_PIXELS y, HitTestConstants hitTestDetails)
 The user double-clicked into the control's client area More...
 
void MouseDown (IStatusBarPanel *panel, SHORT button, SHORT shift, OLE_XPOS_PIXELS x, OLE_YPOS_PIXELS y, HitTestConstants hitTestDetails)
 A mouse button was pressed over the control's client area More...
 
void MouseEnter (IStatusBarPanel *panel, SHORT button, SHORT shift, OLE_XPOS_PIXELS x, OLE_YPOS_PIXELS y, HitTestConstants hitTestDetails)
 The mouse cursor was moved into the control's client area More...
 
void MouseHover (IStatusBarPanel *panel, SHORT button, SHORT shift, OLE_XPOS_PIXELS x, OLE_YPOS_PIXELS y, HitTestConstants hitTestDetails)
 The mouse cursor was moved into the control's client area a specified period of time before More...
 
void MouseLeave (IStatusBarPanel *panel, SHORT button, SHORT shift, OLE_XPOS_PIXELS x, OLE_YPOS_PIXELS y, HitTestConstants hitTestDetails)
 The mouse cursor was moved out of the control's client area More...
 
void MouseMove (IStatusBarPanel *panel, SHORT button, SHORT shift, OLE_XPOS_PIXELS x, OLE_YPOS_PIXELS y, HitTestConstants hitTestDetails)
 The mouse cursor was moved over the control's client area More...
 
void MouseUp (IStatusBarPanel *panel, SHORT button, SHORT shift, OLE_XPOS_PIXELS x, OLE_YPOS_PIXELS y, HitTestConstants hitTestDetails)
 A mouse button was released over the control's client area More...
 
void OLEDragDrop (IOLEDataObject *data, OLEDropEffectConstants *effect, IStatusBarPanel *dropTarget, SHORT button, SHORT shift, OLE_XPOS_PIXELS x, OLE_YPOS_PIXELS y, HitTestConstants hitTestDetails)
 The data was dropped onto the control during OLE drag'n'drop More...
 
void OLEDragEnter (IOLEDataObject *data, OLEDropEffectConstants *effect, IStatusBarPanel *dropTarget, SHORT button, SHORT shift, OLE_XPOS_PIXELS x, OLE_YPOS_PIXELS y, HitTestConstants hitTestDetails)
 The data was dragged into the control during OLE drag'n'drop More...
 
void OLEDragLeave (IOLEDataObject *data, IStatusBarPanel *dropTarget, SHORT button, SHORT shift, OLE_XPOS_PIXELS x, OLE_YPOS_PIXELS y, HitTestConstants hitTestDetails)
 The data was dragged out of the control during OLE drag'n'drop More...
 
void OLEDragMouseMove (IOLEDataObject *data, OLEDropEffectConstants *effect, IStatusBarPanel *dropTarget, SHORT button, SHORT shift, OLE_XPOS_PIXELS x, OLE_YPOS_PIXELS y, HitTestConstants hitTestDetails)
 The data was dragged over the control during OLE drag'n'drop More...
 
void OwnerDrawPanel (IStatusBarPanel *panel, LONG hDC, RECTANGLE *drawingRectangle)
 An ownerdrawn panel must be drawn More...
 
void PanelMouseEnter (IStatusBarPanel *panel, SHORT button, SHORT shift, OLE_XPOS_PIXELS x, OLE_YPOS_PIXELS y, HitTestConstants hitTestDetails)
 The mouse cursor was moved into a panel's bounding rectangle More...
 
void PanelMouseLeave (IStatusBarPanel *panel, SHORT button, SHORT shift, OLE_XPOS_PIXELS x, OLE_YPOS_PIXELS y, HitTestConstants hitTestDetails)
 The mouse cursor was moved out of a panel's bounding rectangle More...
 
void RClick (IStatusBarPanel *panel, SHORT button, SHORT shift, OLE_XPOS_PIXELS x, OLE_YPOS_PIXELS y, HitTestConstants hitTestDetails)
 The user clicked into the control's client area More...
 
void RDblClick (IStatusBarPanel *panel, SHORT button, SHORT shift, OLE_XPOS_PIXELS x, OLE_YPOS_PIXELS y, HitTestConstants hitTestDetails)
 The user double-clicked into the control's client area More...
 
void RecreatedControlWindow (LONG hWnd)
 The control window was recreated More...
 
void ResizedControlWindow (void)
 The control window was resized More...
 
void SetupToolTipWindow (IStatusBarPanel *panel, LONG hWndToolTip)
 The control was recreated More...
 
void ToggledSimpleMode (void)
 The SimpleMode property was toggled More...
 

Detailed Description

The StatusBar class' events interface

This interface defines all events the StatusBar class may raise.

See Also
IStatusBar

Member Function Documentation

void Click ( IStatusBarPanel panel,
SHORT  button,
SHORT  shift,
OLE_XPOS_PIXELS  x,
OLE_YPOS_PIXELS  y,
HitTestConstants  hitTestDetails 
)

The user clicked into the control's client area

Will be fired if the user clicks into the control's client area using the left mouse button.

Parameters
[in]panelThe panel that was clicked. May be Nothing.
[in]buttonThe mouse buttons that were pressed during the click. This should always be vbLeftButton (defined by VB's MouseButtonConstants enumeration).
[in]shiftThe modifier keys (Shift, Ctrl, Alt) that were pressed during the click. Any combination of the values defined by VB's ShiftConstants enumeration is valid.
[in]xThe x-coordinate (in twips) of the click's position relative to the control's upper-left corner.
[in]yThe y-coordinate (in twips) of the click's position relative to the control's upper-left corner.
[in]hitTestDetailsSpecifies the part of the control that was clicked. Any of the values defined by the HitTestConstants enumeration is valid.
Remarks
This is the control's default event.
This event may be disabled.
See Also
DblClick, MClick, RClick, HitTestConstants, IStatusBar::DisabledEvents
void ContextMenu ( IStatusBarPanel panel,
SHORT  button,
SHORT  shift,
OLE_XPOS_PIXELS  x,
OLE_YPOS_PIXELS  y,
HitTestConstants  hitTestDetails 
)

The context menu should be displayed

Will be fired if the control's context menu should be displayed.

Parameters
[in]panelThe panel the context menu refers to. Will be Nothing if the context menu should be displayed for the whole control instead of only for a single item.
[in]buttonThe pressed mouse buttons. Any combination of the values defined by VB's MouseButtonConstants enumeration is valid.
[in]shiftThe pressed modifier keys (Shift, Ctrl, Alt). Any combination of the values defined by VB's ShiftConstants enumeration is valid.
[in]xThe x-coordinate (in twips) of the menu's proposed position relative to the control's upper-left corner.
[in]yThe y-coordinate (in twips) of the menu's proposed position relative to the control's upper-left corner.
[in]hitTestDetailsSpecifies the part of the control that the menu's proposed position lies in. Any of the values defined by the HitTestConstants enumeration is valid.
See Also
RClick, HitTestConstants
void DblClick ( IStatusBarPanel panel,
SHORT  button,
SHORT  shift,
OLE_XPOS_PIXELS  x,
OLE_YPOS_PIXELS  y,
HitTestConstants  hitTestDetails 
)

The user double-clicked into the control's client area

Will be fired if the user double-clicks into the control's client area using the left mouse button.

Parameters
[in]panelThe panel that was double-clicked. May be Nothing.
[in]buttonThe mouse buttons that were pressed during the double-click. This should always be vbLeftButton (defined by VB's MouseButtonConstants enumeration).
[in]shiftThe modifier keys (Shift, Ctrl, Alt) that were pressed during the double-click. Any combination of the values defined by VB's ShiftConstants enumeration is valid.
[in]xThe x-coordinate (in twips) of the double-click's position relative to the control's upper-left corner.
[in]yThe y-coordinate (in twips) of the double-click's position relative to the control's upper-left corner.
[in]hitTestDetailsSpecifies the part of the control that was double-clicked. Any of the values defined by the HitTestConstants enumeration is valid.
Remarks
This event may be disabled.
See Also
Click, MDblClick, RDblClick, HitTestConstants, IStatusBar::DisabledEvents
void DestroyedControlWindow ( LONG  hWnd)

The control window was destroyed

Will be fired after the control window was destroyed.

Parameters
[in]hWndThe control's window handle.
See Also
RecreatedControlWindow, IStatusBar::hWnd
void MClick ( IStatusBarPanel panel,
SHORT  button,
SHORT  shift,
OLE_XPOS_PIXELS  x,
OLE_YPOS_PIXELS  y,
HitTestConstants  hitTestDetails 
)

The user clicked into the control's client area

Will be fired if the user clicks into the control's client area using the middle mouse button.

Parameters
[in]panelThe panel that was clicked. May be Nothing.
[in]buttonThe mouse buttons that were pressed during the click. This should always be vbMiddleButton (defined by VB's MouseButtonConstants enumeration).
[in]shiftThe modifier keys (Shift, Ctrl, Alt) that were pressed during the click. Any combination of the values defined by VB's ShiftConstants enumeration is valid.
[in]xThe x-coordinate (in twips) of the click's position relative to the control's upper-left corner.
[in]yThe y-coordinate (in twips) of the click's position relative to the control's upper-left corner.
[in]hitTestDetailsSpecifies the part of the control that was clicked. Any of the values defined by the HitTestConstants enumeration is valid.
Remarks
This event may be disabled.
See Also
MDblClick, Click, RClick, HitTestConstants, IStatusBar::DisabledEvents
void MDblClick ( IStatusBarPanel panel,
SHORT  button,
SHORT  shift,
OLE_XPOS_PIXELS  x,
OLE_YPOS_PIXELS  y,
HitTestConstants  hitTestDetails 
)

The user double-clicked into the control's client area

Will be fired if the user double-clicks into the control's client area using the middle mouse button.

Parameters
[in]panelThe panel that was double-clicked. May be Nothing.
[in]buttonThe mouse buttons that were pressed during the double-click. This should always be vbMiddleButton (defined by VB's MouseButtonConstants enumeration).
[in]shiftThe modifier keys (Shift, Ctrl, Alt) that were pressed during the double-click. Any combination of the values defined by VB's ShiftConstants enumeration is valid.
[in]xThe x-coordinate (in twips) of the double-click's position relative to the control's upper-left corner.
[in]yThe y-coordinate (in twips) of the double-click's position relative to the control's upper-left corner.
[in]hitTestDetailsSpecifies the part of the control that was double-clicked. Any of the values defined by the HitTestConstants enumeration is valid.
Remarks
This event may be disabled.
See Also
MClick, DblClick, RDblClick, HitTestConstants, IStatusBar::DisabledEvents
void MouseDown ( IStatusBarPanel panel,
SHORT  button,
SHORT  shift,
OLE_XPOS_PIXELS  x,
OLE_YPOS_PIXELS  y,
HitTestConstants  hitTestDetails 
)

A mouse button was pressed over the control's client area

Will be fired if the user presses a mouse button while the mouse cursor is located over the control's client area.

Parameters
[in]panelThe panel that the mouse cursor is located over. May be Nothing.
[in]buttonThe pressed mouse button. Any of the values defined by VB's MouseButtonConstants enumeration is valid.
[in]shiftThe pressed modifier keys (Shift, Ctrl, Alt). Any combination of the values defined by VB's ShiftConstants enumeration is valid.
[in]xThe x-coordinate (in twips) of the mouse cursor's position relative to the control's upper-left corner.
[in]yThe y-coordinate (in twips) of the mouse cursor's position relative to the control's upper-left corner.
[in]hitTestDetailsSpecifies the part of the control that the mouse cursor's position lies in. Any of the values defined by the HitTestConstants enumeration is valid.
Remarks
This event may be disabled.
See Also
MouseUp, Click, MClick, RClick, HitTestConstants, IStatusBar::DisabledEvents
void MouseEnter ( IStatusBarPanel panel,
SHORT  button,
SHORT  shift,
OLE_XPOS_PIXELS  x,
OLE_YPOS_PIXELS  y,
HitTestConstants  hitTestDetails 
)

The mouse cursor was moved into the control's client area

Will be fired if the user moved the mouse cursor into the control's client area.

Parameters
[in]panelThe panel that the mouse cursor is located over. May be Nothing.
[in]buttonThe pressed mouse buttons. Any combination of the values defined by VB's MouseButtonConstants enumeration is valid.
[in]shiftThe pressed modifier keys (Shift, Ctrl, Alt). Any combination of the values defined by VB's ShiftConstants enumeration is valid.
[in]xThe x-coordinate (in twips) of the mouse cursor's position relative to the control's upper-left corner.
[in]yThe y-coordinate (in twips) of the mouse cursor's position relative to the control's upper-left corner.
[in]hitTestDetailsSpecifies the part of the control that the mouse cursor's position lies in. Any of the values defined by the HitTestConstants enumeration is valid.
Remarks
This event may be disabled.
See Also
MouseLeave, PanelMouseEnter, MouseHover, MouseMove, HitTestConstants, IStatusBar::DisabledEvents
void MouseHover ( IStatusBarPanel panel,
SHORT  button,
SHORT  shift,
OLE_XPOS_PIXELS  x,
OLE_YPOS_PIXELS  y,
HitTestConstants  hitTestDetails 
)

The mouse cursor was moved into the control's client area a specified period of time before

Will be fired if the mouse cursor has been located over the control's client area for the number of milliseconds specified by the IStatusBar::HoverTime property.

Parameters
[in]panelThe panel that the mouse cursor is located over. May be Nothing.
[in]buttonThe pressed mouse buttons. Any combination of the values defined by VB's MouseButtonConstants enumeration is valid.
[in]shiftThe pressed modifier keys (Shift, Ctrl, Alt). Any combination of the values defined by VB's ShiftConstants enumeration is valid.
[in]xThe x-coordinate (in twips) of the mouse cursor's position relative to the control's upper-left corner.
[in]yThe y-coordinate (in twips) of the mouse cursor's position relative to the control's upper-left corner.
[in]hitTestDetailsSpecifies the part of the control that the mouse cursor's position lies in. Any of the values defined by the HitTestConstants enumeration is valid.
Remarks
This event may be disabled.
See Also
MouseEnter, MouseLeave, MouseMove, IStatusBar::HoverTime, HitTestConstants, IStatusBar::DisabledEvents
void MouseLeave ( IStatusBarPanel panel,
SHORT  button,
SHORT  shift,
OLE_XPOS_PIXELS  x,
OLE_YPOS_PIXELS  y,
HitTestConstants  hitTestDetails 
)

The mouse cursor was moved out of the control's client area

Will be fired if the user moves the mouse cursor out of the control's client area.

Parameters
[in]panelThe panel that the mouse cursor is located over. May be Nothing.
[in]buttonThe pressed mouse buttons. Any combination of the values defined by VB's MouseButtonConstants enumeration is valid.
[in]shiftThe pressed modifier keys (Shift, Ctrl, Alt). Any combination of the values defined by VB's ShiftConstants enumeration is valid.
[in]xThe x-coordinate (in twips) of the mouse cursor's position relative to the control's upper-left corner.
[in]yThe y-coordinate (in twips) of the mouse cursor's position relative to the control's upper-left corner.
[in]hitTestDetailsSpecifies the part of the control that the mouse cursor's position lies in. Any of the values defined by the HitTestConstants enumeration is valid.
Remarks
This event may be disabled.
See Also
MouseEnter, PanelMouseLeave, MouseHover, MouseMove, HitTestConstants, IStatusBar::DisabledEvents
void MouseMove ( IStatusBarPanel panel,
SHORT  button,
SHORT  shift,
OLE_XPOS_PIXELS  x,
OLE_YPOS_PIXELS  y,
HitTestConstants  hitTestDetails 
)

The mouse cursor was moved over the control's client area

Will be fired if the user moves the mouse cursor over the control's client area.

Parameters
[in]panelThe panel that the mouse cursor is located over. May be Nothing.
[in]buttonThe pressed mouse buttons. Any combination of the values defined by VB's MouseButtonConstants enumeration is valid.
[in]shiftThe pressed modifier keys (Shift, Ctrl, Alt). Any combination of the values defined by VB's ShiftConstants enumeration is valid.
[in]xThe x-coordinate (in twips) of the mouse cursor's position relative to the control's upper-left corner.
[in]yThe y-coordinate (in twips) of the mouse cursor's position relative to the control's upper-left corner.
[in]hitTestDetailsSpecifies the part of the control that the mouse cursor's position lies in. Any of the values defined by the HitTestConstants enumeration is valid.
Remarks
This event may be disabled.
See Also
MouseEnter, MouseLeave, MouseDown, MouseUp, HitTestConstants, IStatusBar::DisabledEvents
void MouseUp ( IStatusBarPanel panel,
SHORT  button,
SHORT  shift,
OLE_XPOS_PIXELS  x,
OLE_YPOS_PIXELS  y,
HitTestConstants  hitTestDetails 
)

A mouse button was released over the control's client area

Will be fired if the user releases a mouse button while the mouse cursor is located over the control's client area.

Parameters
[in]panelThe panel that the mouse cursor is located over. May be Nothing.
[in]buttonThe released mouse button. Any of the values defined by VB's MouseButtonConstants enumeration is valid.
[in]shiftThe pressed modifier keys (Shift, Ctrl, Alt). Any combination of the values defined by VB's ShiftConstants enumeration is valid.
[in]xThe x-coordinate (in twips) of the mouse cursor's position relative to the control's upper-left corner.
[in]yThe y-coordinate (in twips) of the mouse cursor's position relative to the control's upper-left corner.
[in]hitTestDetailsSpecifies the part of the control that the mouse cursor's position lies in. Any of the values defined by the HitTestConstants enumeration is valid.
Remarks
This event may be disabled.
See Also
MouseDown, Click, MClick, RClick, HitTestConstants, IStatusBar::DisabledEvents
void OLEDragDrop ( IOLEDataObject data,
OLEDropEffectConstants effect,
IStatusBarPanel dropTarget,
SHORT  button,
SHORT  shift,
OLE_XPOS_PIXELS  x,
OLE_YPOS_PIXELS  y,
HitTestConstants  hitTestDetails 
)

The data was dropped onto the control during OLE drag'n'drop

Will be fired during OLE drag'n'drop if the user completes the operation while the mouse cursor is located over the control's client area.

Parameters
[in]dataThe dropped data.
[in,out]effectOn entry, a bit field of the drop effects (defined by the OLEDropEffectConstants enumeration) supported by the drag source. On return, this paramter must be set to the drop effect that the target finally executed.
[in]dropTargetThe panel that is the nearest one from the mouse cursor's position.
[in]buttonThe pressed mouse buttons. Any combination of the values defined by VB's MouseButtonConstants enumeration is valid.
[in]shiftThe pressed modifier keys (Shift, Ctrl, Alt). Any combination of the values defined by VB's ShiftConstants enumeration is valid.
[in]xThe x-coordinate (in twips) of the mouse cursor's position relative to the control's upper-left corner.
[in]yThe y-coordinate (in twips) of the mouse cursor's position relative to the control's upper-left corner.
[in]hitTestDetailsSpecifies the part of the control that the mouse cursor's position lies in. Any of the values defined by the HitTestConstants enumeration is valid.
Remarks
Don't forget to release any references that you hold to the data object.
See Also
OLEDragEnter, OLEDragMouseMove, OLEDragLeave, MouseUp, IStatusBar::RegisterForOLEDragDrop, OLEDropEffectConstants, HitTestConstants
void OLEDragEnter ( IOLEDataObject data,
OLEDropEffectConstants effect,
IStatusBarPanel dropTarget,
SHORT  button,
SHORT  shift,
OLE_XPOS_PIXELS  x,
OLE_YPOS_PIXELS  y,
HitTestConstants  hitTestDetails 
)

The data was dragged into the control during OLE drag'n'drop

Will be fired during OLE drag'n'drop if the user moved the mouse cursor into the control's client area.

Parameters
[in]dataThe dragged data.
[in,out]effectOn entry, a bit field of the drop effects (defined by the OLEDropEffectConstants enumeration) supported by the drag source. On return, this paramter must be set to the drop effect that the target wants to be used on drop.
[in]dropTargetThe panel that is the current target of the drag'n'drop operation.
[in]buttonThe pressed mouse buttons. Any combination of the values defined by VB's MouseButtonConstants enumeration is valid.
[in]shiftThe pressed modifier keys (Shift, Ctrl, Alt). Any combination of the values defined by VB's ShiftConstants enumeration is valid.
[in]xThe x-coordinate (in twips) of the mouse cursor's position relative to the control's upper-left corner.
[in]yThe y-coordinate (in twips) of the mouse cursor's position relative to the control's upper-left corner.
[in]hitTestDetailsSpecifies the part of the control that the mouse cursor's position lies in. Any of the values defined by the HitTestConstants enumeration is valid.
See Also
OLEDragMouseMove, OLEDragLeave, OLEDragDrop, MouseEnter, IStatusBar::RegisterForOLEDragDrop, OLEDropEffectConstants, HitTestConstants
void OLEDragLeave ( IOLEDataObject data,
IStatusBarPanel dropTarget,
SHORT  button,
SHORT  shift,
OLE_XPOS_PIXELS  x,
OLE_YPOS_PIXELS  y,
HitTestConstants  hitTestDetails 
)

The data was dragged out of the control during OLE drag'n'drop

Will be fired during OLE drag'n'drop if the user moves the mouse cursor out of the control's client area or if the user canceled the drag'n'drop operation.

Parameters
[in]dataThe dragged data.
[in]dropTargetThe panel that is the current target of the drag'n'drop operation.
[in]buttonThe pressed mouse buttons. Any combination of the values defined by VB's MouseButtonConstants enumeration is valid.
[in]shiftThe pressed modifier keys (Shift, Ctrl, Alt). Any combination of the values defined by VB's ShiftConstants enumeration is valid.
[in]xThe x-coordinate (in twips) of the mouse cursor's position relative to the control's upper-left corner.
[in]yThe y-coordinate (in twips) of the mouse cursor's position relative to the control's upper-left corner.
[in]hitTestDetailsSpecifies the part of the control that the mouse cursor's position lies in. Any of the values defined by the HitTestConstants enumeration is valid.
Remarks
Don't forget to release any references that you hold to the data object.
See Also
OLEDragEnter, OLEDragMouseMove, OLEDragDrop, MouseLeave, IStatusBar::RegisterForOLEDragDrop, HitTestConstants
void OLEDragMouseMove ( IOLEDataObject data,
OLEDropEffectConstants effect,
IStatusBarPanel dropTarget,
SHORT  button,
SHORT  shift,
OLE_XPOS_PIXELS  x,
OLE_YPOS_PIXELS  y,
HitTestConstants  hitTestDetails 
)

The data was dragged over the control during OLE drag'n'drop

Will be fired during OLE drag'n'drop if the user moves the mouse cursor over the control's client area.

Parameters
[in]dataThe dragged data.
[in,out]effectOn entry, a bit field of the drop effects (defined by the OLEDropEffectConstants enumeration) supported by the drag source. On return, this paramter must be set to the drop effect that the target wants to be used on drop.
[in]dropTargetThe panel that is the current target of the drag'n'drop operation.
[in]buttonThe pressed mouse buttons. Any combination of the values defined by VB's MouseButtonConstants enumeration is valid.
[in]shiftThe pressed modifier keys (Shift, Ctrl, Alt). Any combination of the values defined by VB's ShiftConstants enumeration is valid.
[in]xThe x-coordinate (in twips) of the mouse cursor's position relative to the control's upper-left corner.
[in]yThe y-coordinate (in twips) of the mouse cursor's position relative to the control's upper-left corner.
[in]hitTestDetailsSpecifies the part of the control that the mouse cursor's position lies in. Any of the values defined by the HitTestConstants enumeration is valid.
See Also
OLEDragEnter, OLEDragLeave, OLEDragDrop, MouseMove, IStatusBar::RegisterForOLEDragDrop, OLEDropEffectConstants, HitTestConstants
void OwnerDrawPanel ( IStatusBarPanel panel,
LONG  hDC,
RECTANGLE drawingRectangle 
)

An ownerdrawn panel must be drawn

Will be fired if the specified panel's Content property is set to pcOwnerDrawn and the panel needs to be drawn.

Parameters
[in]panelThe panel to draw.
[in]hDCThe handle of the device context in which all drawing should take place.
[in]drawingRectangleThe bounding rectangle of the area that must be drawn.
See Also
IStatusBarPanel::Content, RECTANGLE
void PanelMouseEnter ( IStatusBarPanel panel,
SHORT  button,
SHORT  shift,
OLE_XPOS_PIXELS  x,
OLE_YPOS_PIXELS  y,
HitTestConstants  hitTestDetails 
)

The mouse cursor was moved into a panel's bounding rectangle

Will be fired if the user moved the mouse cursor into the specified panel's bounding rectangle.

Parameters
[in]panelThe panel that was entered.
[in]buttonThe pressed mouse buttons. Any combination of the values defined by VB's MouseButtonConstants enumeration is valid.
[in]shiftThe pressed modifier keys (Shift, Ctrl, Alt). Any combination of the values defined by VB's ShiftConstants enumeration is valid.
[in]xThe x-coordinate (in twips) of the mouse cursor's position relative to the control's upper-left corner.
[in]yThe y-coordinate (in twips) of the mouse cursor's position relative to the control's upper-left corner.
[in]hitTestDetailsSpecifies the part of the control that the mouse cursor's position lies in. Most of the values defined by the HitTestConstants enumeration are valid.
Remarks
This event may be disabled.
See Also
PanelMouseLeave, MouseMove, HitTestConstants, IStatusBar::DisabledEvents
void PanelMouseLeave ( IStatusBarPanel panel,
SHORT  button,
SHORT  shift,
OLE_XPOS_PIXELS  x,
OLE_YPOS_PIXELS  y,
HitTestConstants  hitTestDetails 
)

The mouse cursor was moved out of a panel's bounding rectangle

Will be fired if the user moved the mouse cursor out of the specified panel's bounding rectangle.

Parameters
[in]panelThe panel that was left.
[in]buttonThe pressed mouse buttons. Any combination of the values defined by VB's MouseButtonConstants enumeration is valid.
[in]shiftThe pressed modifier keys (Shift, Ctrl, Alt). Any combination of the values defined by VB's ShiftConstants enumeration is valid.
[in]xThe x-coordinate (in twips) of the mouse cursor's position relative to the control's upper-left corner.
[in]yThe y-coordinate (in twips) of the mouse cursor's position relative to the control's upper-left corner.
[in]hitTestDetailsSpecifies the part of the control that the mouse cursor's position lies in. Most of the values defined by the HitTestConstants enumeration are valid.
Remarks
This event may be disabled.
See Also
PanelMouseEnter, MouseMove, HitTestConstants, IStatusBar::DisabledEvents
void RClick ( IStatusBarPanel panel,
SHORT  button,
SHORT  shift,
OLE_XPOS_PIXELS  x,
OLE_YPOS_PIXELS  y,
HitTestConstants  hitTestDetails 
)

The user clicked into the control's client area

Will be fired if the user clicks into the control's client area using the right mouse button.

Parameters
[in]panelThe panel that was clicked. May be Nothing.
[in]buttonThe mouse buttons that were pressed during the click. This should always be vbRightButton (defined by VB's MouseButtonConstants enumeration).
[in]shiftThe modifier keys (Shift, Ctrl, Alt) that were pressed during the click. Any combination of the values defined by VB's ShiftConstants enumeration is valid.
[in]xThe x-coordinate (in twips) of the click's position relative to the control's upper-left corner.
[in]yThe y-coordinate (in twips) of the click's position relative to the control's upper-left corner.
[in]hitTestDetailsSpecifies the part of the control that was clicked. Any of the values defined by the HitTestConstants enumeration is valid.
Remarks
This event may be disabled.
See Also
ContextMenu, RDblClick, Click, MClick, HitTestConstants, IStatusBar::DisabledEvents
void RDblClick ( IStatusBarPanel panel,
SHORT  button,
SHORT  shift,
OLE_XPOS_PIXELS  x,
OLE_YPOS_PIXELS  y,
HitTestConstants  hitTestDetails 
)

The user double-clicked into the control's client area

Will be fired if the user double-clicks into the control's client area using the right mouse button.

Parameters
[in]panelThe panel that was double-clicked. May be Nothing.
[in]buttonThe mouse buttons that were pressed during the double-click. This should always be vbRightButton (defined by VB's MouseButtonConstants enumeration).
[in]shiftThe modifier keys (Shift, Ctrl, Alt) that were pressed during the double-click. Any combination of the values defined by VB's ShiftConstants enumeration is valid.
[in]xThe x-coordinate (in twips) of the double-click's position relative to the control's upper-left corner.
[in]yThe y-coordinate (in twips) of the double-click's position relative to the control's upper-left corner.
[in]hitTestDetailsSpecifies the part of the control that was double-clicked. Any of the values defined by the HitTestConstants enumeration is valid.
Remarks
This event may be disabled.
See Also
RClick, DblClick, MDblClick, HitTestConstants, IStatusBar::DisabledEvents
void RecreatedControlWindow ( LONG  hWnd)

The control window was recreated

Will be fired after the control window was destroyed and recreated.
Some properties can't be changed after the control window was created. If such a property is changed and the control window already exists, it is destroyed and recreated.

Parameters
[in]hWndThe control's window handle.
See Also
DestroyedControlWindow, IStatusBar::hWnd
void ResizedControlWindow ( void  )

The control window was resized

Will be fired after the control window was resized.

void SetupToolTipWindow ( IStatusBarPanel panel,
LONG  hWndToolTip 
)

The control was recreated

Will be fired before a panel's tooltip is displayed. Use this event to customize the tooltip window.

Parameters
[in]panelThe panel for which the tooltip will be displayed.
[in]hWndToolTipThe tooltip control's window handle.
Remarks
This event may be disabled.
See Also
IStatusBar::ShowToolTips, IStatusBarPanel::ToolTipText, IStatusBar::DisabledEvents
void ToggledSimpleMode ( void  )

The SimpleMode property was toggled

Will be fired after the SimpleMode property was toggled.

See Also
IStatusBar::SimpleMode