|
TimoSoft StatusBar
1.3.3.129
|
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... | |
The StatusBar class' events interface
This interface defines all events the StatusBar class may raise.
| 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.
| [in] | panel | The panel that was clicked. May be Nothing. |
| [in] | button | The mouse buttons that were pressed during the click. This should always be vbLeftButton (defined by VB's MouseButtonConstants enumeration). |
| [in] | shift | The 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] | x | The x-coordinate (in twips) of the click's position relative to the control's upper-left corner. |
| [in] | y | The y-coordinate (in twips) of the click's position relative to the control's upper-left corner. |
| [in] | hitTestDetails | Specifies the part of the control that was clicked. Any of the values defined by the HitTestConstants enumeration is valid. |
| 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.
| [in] | panel | The 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] | button | The pressed mouse buttons. Any combination of the values defined by VB's MouseButtonConstants enumeration is valid. |
| [in] | shift | The pressed modifier keys (Shift, Ctrl, Alt). Any combination of the values defined by VB's ShiftConstants enumeration is valid. |
| [in] | x | The x-coordinate (in twips) of the menu's proposed position relative to the control's upper-left corner. |
| [in] | y | The y-coordinate (in twips) of the menu's proposed position relative to the control's upper-left corner. |
| [in] | hitTestDetails | Specifies the part of the control that the menu's proposed position lies in. Any of the values defined by the HitTestConstants enumeration is valid. |
| 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.
| [in] | panel | The panel that was double-clicked. May be Nothing. |
| [in] | button | The mouse buttons that were pressed during the double-click. This should always be vbLeftButton (defined by VB's MouseButtonConstants enumeration). |
| [in] | shift | The 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] | x | The x-coordinate (in twips) of the double-click's position relative to the control's upper-left corner. |
| [in] | y | The y-coordinate (in twips) of the double-click's position relative to the control's upper-left corner. |
| [in] | hitTestDetails | Specifies the part of the control that was double-clicked. Any of the values defined by the HitTestConstants enumeration is valid. |
| void DestroyedControlWindow | ( | LONG | hWnd | ) |
The control window was destroyed
Will be fired after the control window was destroyed.
| [in] | hWnd | The control's window handle. |
| 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.
| [in] | panel | The panel that was clicked. May be Nothing. |
| [in] | button | The mouse buttons that were pressed during the click. This should always be vbMiddleButton (defined by VB's MouseButtonConstants enumeration). |
| [in] | shift | The 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] | x | The x-coordinate (in twips) of the click's position relative to the control's upper-left corner. |
| [in] | y | The y-coordinate (in twips) of the click's position relative to the control's upper-left corner. |
| [in] | hitTestDetails | Specifies the part of the control that was clicked. Any of the values defined by the HitTestConstants enumeration is valid. |
| 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.
| [in] | panel | The panel that was double-clicked. May be Nothing. |
| [in] | button | The mouse buttons that were pressed during the double-click. This should always be vbMiddleButton (defined by VB's MouseButtonConstants enumeration). |
| [in] | shift | The 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] | x | The x-coordinate (in twips) of the double-click's position relative to the control's upper-left corner. |
| [in] | y | The y-coordinate (in twips) of the double-click's position relative to the control's upper-left corner. |
| [in] | hitTestDetails | Specifies the part of the control that was double-clicked. Any of the values defined by the HitTestConstants enumeration is valid. |
| 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.
| [in] | panel | The panel that the mouse cursor is located over. May be Nothing. |
| [in] | button | The pressed mouse button. Any of the values defined by VB's MouseButtonConstants enumeration is valid. |
| [in] | shift | The pressed modifier keys (Shift, Ctrl, Alt). Any combination of the values defined by VB's ShiftConstants enumeration is valid. |
| [in] | x | The x-coordinate (in twips) of the mouse cursor's position relative to the control's upper-left corner. |
| [in] | y | The y-coordinate (in twips) of the mouse cursor's position relative to the control's upper-left corner. |
| [in] | hitTestDetails | Specifies the part of the control that the mouse cursor's position lies in. Any of the values defined by the HitTestConstants enumeration is valid. |
| 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.
| [in] | panel | The panel that the mouse cursor is located over. May be Nothing. |
| [in] | button | The pressed mouse buttons. Any combination of the values defined by VB's MouseButtonConstants enumeration is valid. |
| [in] | shift | The pressed modifier keys (Shift, Ctrl, Alt). Any combination of the values defined by VB's ShiftConstants enumeration is valid. |
| [in] | x | The x-coordinate (in twips) of the mouse cursor's position relative to the control's upper-left corner. |
| [in] | y | The y-coordinate (in twips) of the mouse cursor's position relative to the control's upper-left corner. |
| [in] | hitTestDetails | Specifies the part of the control that the mouse cursor's position lies in. Any of the values defined by the HitTestConstants enumeration is valid. |
| 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.
| [in] | panel | The panel that the mouse cursor is located over. May be Nothing. |
| [in] | button | The pressed mouse buttons. Any combination of the values defined by VB's MouseButtonConstants enumeration is valid. |
| [in] | shift | The pressed modifier keys (Shift, Ctrl, Alt). Any combination of the values defined by VB's ShiftConstants enumeration is valid. |
| [in] | x | The x-coordinate (in twips) of the mouse cursor's position relative to the control's upper-left corner. |
| [in] | y | The y-coordinate (in twips) of the mouse cursor's position relative to the control's upper-left corner. |
| [in] | hitTestDetails | Specifies the part of the control that the mouse cursor's position lies in. Any of the values defined by the HitTestConstants enumeration is valid. |
| 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.
| [in] | panel | The panel that the mouse cursor is located over. May be Nothing. |
| [in] | button | The pressed mouse buttons. Any combination of the values defined by VB's MouseButtonConstants enumeration is valid. |
| [in] | shift | The pressed modifier keys (Shift, Ctrl, Alt). Any combination of the values defined by VB's ShiftConstants enumeration is valid. |
| [in] | x | The x-coordinate (in twips) of the mouse cursor's position relative to the control's upper-left corner. |
| [in] | y | The y-coordinate (in twips) of the mouse cursor's position relative to the control's upper-left corner. |
| [in] | hitTestDetails | Specifies the part of the control that the mouse cursor's position lies in. Any of the values defined by the HitTestConstants enumeration is valid. |
| 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.
| [in] | panel | The panel that the mouse cursor is located over. May be Nothing. |
| [in] | button | The pressed mouse buttons. Any combination of the values defined by VB's MouseButtonConstants enumeration is valid. |
| [in] | shift | The pressed modifier keys (Shift, Ctrl, Alt). Any combination of the values defined by VB's ShiftConstants enumeration is valid. |
| [in] | x | The x-coordinate (in twips) of the mouse cursor's position relative to the control's upper-left corner. |
| [in] | y | The y-coordinate (in twips) of the mouse cursor's position relative to the control's upper-left corner. |
| [in] | hitTestDetails | Specifies the part of the control that the mouse cursor's position lies in. Any of the values defined by the HitTestConstants enumeration is valid. |
| 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.
| [in] | panel | The panel that the mouse cursor is located over. May be Nothing. |
| [in] | button | The released mouse button. Any of the values defined by VB's MouseButtonConstants enumeration is valid. |
| [in] | shift | The pressed modifier keys (Shift, Ctrl, Alt). Any combination of the values defined by VB's ShiftConstants enumeration is valid. |
| [in] | x | The x-coordinate (in twips) of the mouse cursor's position relative to the control's upper-left corner. |
| [in] | y | The y-coordinate (in twips) of the mouse cursor's position relative to the control's upper-left corner. |
| [in] | hitTestDetails | Specifies the part of the control that the mouse cursor's position lies in. Any of the values defined by the HitTestConstants enumeration is valid. |
| 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.
| [in] | data | The dropped data. |
| [in,out] | effect | On 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] | dropTarget | The panel that is the nearest one from the mouse cursor's position. |
| [in] | button | The pressed mouse buttons. Any combination of the values defined by VB's MouseButtonConstants enumeration is valid. |
| [in] | shift | The pressed modifier keys (Shift, Ctrl, Alt). Any combination of the values defined by VB's ShiftConstants enumeration is valid. |
| [in] | x | The x-coordinate (in twips) of the mouse cursor's position relative to the control's upper-left corner. |
| [in] | y | The y-coordinate (in twips) of the mouse cursor's position relative to the control's upper-left corner. |
| [in] | hitTestDetails | Specifies the part of the control that the mouse cursor's position lies in. Any of the values defined by the HitTestConstants enumeration is valid. |
| 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.
| [in] | data | The dragged data. |
| [in,out] | effect | On 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] | dropTarget | The panel that is the current target of the drag'n'drop operation. |
| [in] | button | The pressed mouse buttons. Any combination of the values defined by VB's MouseButtonConstants enumeration is valid. |
| [in] | shift | The pressed modifier keys (Shift, Ctrl, Alt). Any combination of the values defined by VB's ShiftConstants enumeration is valid. |
| [in] | x | The x-coordinate (in twips) of the mouse cursor's position relative to the control's upper-left corner. |
| [in] | y | The y-coordinate (in twips) of the mouse cursor's position relative to the control's upper-left corner. |
| [in] | hitTestDetails | Specifies the part of the control that the mouse cursor's position lies in. Any of the values defined by the HitTestConstants enumeration is valid. |
| 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.
| [in] | data | The dragged data. |
| [in] | dropTarget | The panel that is the current target of the drag'n'drop operation. |
| [in] | button | The pressed mouse buttons. Any combination of the values defined by VB's MouseButtonConstants enumeration is valid. |
| [in] | shift | The pressed modifier keys (Shift, Ctrl, Alt). Any combination of the values defined by VB's ShiftConstants enumeration is valid. |
| [in] | x | The x-coordinate (in twips) of the mouse cursor's position relative to the control's upper-left corner. |
| [in] | y | The y-coordinate (in twips) of the mouse cursor's position relative to the control's upper-left corner. |
| [in] | hitTestDetails | Specifies the part of the control that the mouse cursor's position lies in. Any of the values defined by the HitTestConstants enumeration is valid. |
| 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.
| [in] | data | The dragged data. |
| [in,out] | effect | On 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] | dropTarget | The panel that is the current target of the drag'n'drop operation. |
| [in] | button | The pressed mouse buttons. Any combination of the values defined by VB's MouseButtonConstants enumeration is valid. |
| [in] | shift | The pressed modifier keys (Shift, Ctrl, Alt). Any combination of the values defined by VB's ShiftConstants enumeration is valid. |
| [in] | x | The x-coordinate (in twips) of the mouse cursor's position relative to the control's upper-left corner. |
| [in] | y | The y-coordinate (in twips) of the mouse cursor's position relative to the control's upper-left corner. |
| [in] | hitTestDetails | Specifies the part of the control that the mouse cursor's position lies in. Any of the values defined by the HitTestConstants enumeration is valid. |
| 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.
| [in] | panel | The panel to draw. |
| [in] | hDC | The handle of the device context in which all drawing should take place. |
| [in] | drawingRectangle | The bounding rectangle of the area that must be drawn. |
| 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.
| [in] | panel | The panel that was entered. |
| [in] | button | The pressed mouse buttons. Any combination of the values defined by VB's MouseButtonConstants enumeration is valid. |
| [in] | shift | The pressed modifier keys (Shift, Ctrl, Alt). Any combination of the values defined by VB's ShiftConstants enumeration is valid. |
| [in] | x | The x-coordinate (in twips) of the mouse cursor's position relative to the control's upper-left corner. |
| [in] | y | The y-coordinate (in twips) of the mouse cursor's position relative to the control's upper-left corner. |
| [in] | hitTestDetails | Specifies the part of the control that the mouse cursor's position lies in. Most of the values defined by the HitTestConstants enumeration are valid. |
| 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.
| [in] | panel | The panel that was left. |
| [in] | button | The pressed mouse buttons. Any combination of the values defined by VB's MouseButtonConstants enumeration is valid. |
| [in] | shift | The pressed modifier keys (Shift, Ctrl, Alt). Any combination of the values defined by VB's ShiftConstants enumeration is valid. |
| [in] | x | The x-coordinate (in twips) of the mouse cursor's position relative to the control's upper-left corner. |
| [in] | y | The y-coordinate (in twips) of the mouse cursor's position relative to the control's upper-left corner. |
| [in] | hitTestDetails | Specifies the part of the control that the mouse cursor's position lies in. Most of the values defined by the HitTestConstants enumeration are valid. |
| 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.
| [in] | panel | The panel that was clicked. May be Nothing. |
| [in] | button | The mouse buttons that were pressed during the click. This should always be vbRightButton (defined by VB's MouseButtonConstants enumeration). |
| [in] | shift | The 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] | x | The x-coordinate (in twips) of the click's position relative to the control's upper-left corner. |
| [in] | y | The y-coordinate (in twips) of the click's position relative to the control's upper-left corner. |
| [in] | hitTestDetails | Specifies the part of the control that was clicked. Any of the values defined by the HitTestConstants enumeration is valid. |
| 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.
| [in] | panel | The panel that was double-clicked. May be Nothing. |
| [in] | button | The mouse buttons that were pressed during the double-click. This should always be vbRightButton (defined by VB's MouseButtonConstants enumeration). |
| [in] | shift | The 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] | x | The x-coordinate (in twips) of the double-click's position relative to the control's upper-left corner. |
| [in] | y | The y-coordinate (in twips) of the double-click's position relative to the control's upper-left corner. |
| [in] | hitTestDetails | Specifies the part of the control that was double-clicked. Any of the values defined by the HitTestConstants enumeration is valid. |
| 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.
| [in] | hWnd | The control's window handle. |
| 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.
| [in] | panel | The panel for which the tooltip will be displayed. |
| [in] | hWndToolTip | The tooltip control's window handle. |
| void ToggledSimpleMode | ( | void | ) |
The SimpleMode property was toggled
Will be fired after the SimpleMode property was toggled.