|
TimoSoft DateTimeControls
1.3.3.113
|
The Calendar class' events interface
More...
Public Member Functions | |
| void | SelectionChanged (DATE firstSelectedDate, DATE lastSelectedDate) |
| The date selection was changed More... | |
| void | Click (DATE hitDate, 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 (DATE hitDate, SHORT button, SHORT shift, OLE_XPOS_PIXELS x, OLE_YPOS_PIXELS y, HitTestConstants hitTestDetails, VARIANT_BOOL *showDefaultMenu) |
| The context menu should be displayed More... | |
| void | DateMouseEnter (DATE hitDate, SHORT button, SHORT shift, OLE_XPOS_PIXELS x, OLE_YPOS_PIXELS y, HitTestConstants hitTestDetails) |
| The mouse cursor was moved into a date cell's bounding rectangle More... | |
| void | DateMouseLeave (DATE hitDate, SHORT button, SHORT shift, OLE_XPOS_PIXELS x, OLE_YPOS_PIXELS y, HitTestConstants hitTestDetails) |
| The mouse cursor was moved out of a date cell's bounding rectangle More... | |
| void | DblClick (DATE hitDate, 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 | GetBoldDates (DATE FirstDate, LONG numberOfDates, SAFEARRAY(VARIANT_BOOL)*states) |
| The control needs to know which dates shall be displayed bold More... | |
| void | KeyDown (SHORT *keyCode, SHORT shift) |
| A key was pressed while the control has the focus More... | |
| void | KeyPress (SHORT *keyAscii) |
| An alphanumeric key was pressed and released while the control has the focus More... | |
| void | KeyUp (SHORT *keyCode, SHORT shift) |
| A key was released while the control has the focus More... | |
| void | MClick (DATE hitDate, 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 (DATE hitDate, 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 (DATE hitDate, 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 (DATE hitDate, 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 (DATE hitDate, 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 (DATE hitDate, 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 (DATE hitDate, 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 (DATE hitDate, 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, DATE 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, DATE dropTarget, SHORT button, SHORT shift, OLE_XPOS_PIXELS x, OLE_YPOS_PIXELS y, HitTestConstants hitTestDetails, LONG *autoHScrollVelocity) |
| The data was dragged into the control during OLE drag'n'drop More... | |
| void | OLEDragLeave (IOLEDataObject *data, DATE 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, DATE dropTarget, SHORT button, SHORT shift, OLE_XPOS_PIXELS x, OLE_YPOS_PIXELS y, HitTestConstants hitTestDetails, LONG *autoHScrollVelocity) |
| The data was dragged over the control during OLE drag'n'drop More... | |
| void | RClick (DATE hitDate, 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 (DATE hitDate, 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 | ViewChanged (ViewConstants oldView, ViewConstants newView) |
| The view mode was changed More... | |
| void SelectionChanged | ( | DATE | firstSelectedDate, |
| DATE | lastSelectedDate | ||
| ) |
The date selection was changed
Will be fired after another date or range of dates was selected.
| [in] | firstSelectedDate | The first selected date. |
| [in] | lastSelectedDate | The last selected date. |
MCN_SELCHANGE notification that the SysMonthCal32 window is sending whenever the selection changes. This notification is sent twice (and therefore the event is raised twice), if the user clicks one of the scroll buttons to view another month.MCN_SELCHANGE is sent (and the event raised) at regular intervals to detect date changes.| void Click | ( | DATE | hitDate, |
| 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] | hitDate | The date that was clicked. May be zero. |
| [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 | ( | DATE | hitDate, |
| SHORT | button, | ||
| SHORT | shift, | ||
| OLE_XPOS_PIXELS | x, | ||
| OLE_YPOS_PIXELS | y, | ||
| HitTestConstants | hitTestDetails, | ||
| VARIANT_BOOL * | showDefaultMenu | ||
| ) |
The context menu should be displayed
Will be fired if the control's context menu should be displayed.
| [in] | hitDate | The date the context menu refers to. Will be zero if the context menu should be displayed for the whole control instead of only for a single date. |
| [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. |
| [in,out] | showDefaultMenu | If set to True, the default context menu is displayed; otherwise the control doesn't display any context menu itself, but you may display your custom menu. |
| void DateMouseEnter | ( | DATE | hitDate, |
| SHORT | button, | ||
| SHORT | shift, | ||
| OLE_XPOS_PIXELS | x, | ||
| OLE_YPOS_PIXELS | y, | ||
| HitTestConstants | hitTestDetails | ||
| ) |
The mouse cursor was moved into a date cell's bounding rectangle
Will be fired if the user moved the mouse cursor into the specified date cell's bounding rectangle.
| [in] | hitDate | The date 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 DateMouseLeave | ( | DATE | hitDate, |
| SHORT | button, | ||
| SHORT | shift, | ||
| OLE_XPOS_PIXELS | x, | ||
| OLE_YPOS_PIXELS | y, | ||
| HitTestConstants | hitTestDetails | ||
| ) |
The mouse cursor was moved out of a date cell's bounding rectangle
Will be fired if the user moved the mouse cursor out of the specified date cell's bounding rectangle.
| [in] | hitDate | The date 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 DblClick | ( | DATE | hitDate, |
| 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] | hitDate | The date that was double-clicked. May be zero. |
| [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 GetBoldDates | ( | DATE | FirstDate, |
| LONG | numberOfDates, | ||
| SAFEARRAY(VARIANT_BOOL)* | states | ||
| ) |
The control needs to know which dates shall be displayed bold
Will be fired if the control needs to know which dates shall be displayed bold.
| [in] | firstDate | The first date for which to retrieve the state. |
| [in] | numberOfDates | The number of dates for which to retrieve the states. |
| [in,out] | states | An array containing the state for each date. |
| void KeyDown | ( | SHORT * | keyCode, |
| SHORT | shift | ||
| ) |
A key was pressed while the control has the focus
Will be fired if the user presses a key while the control has the focus.
| [in,out] | keyCode | The pressed key. Any of the values defined by VB's KeyCodeConstants 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. |
keyCode to 0 to eat the message.| void KeyPress | ( | SHORT * | keyAscii | ) |
An alphanumeric key was pressed and released while the control has the focus
Will be fired if the user presses and releases an alphanumeric key while the control has the focus.
| [in,out] | keyAscii | The pressed key's ASCII code. |
keyAscii to 0 to eat the message.| void KeyUp | ( | SHORT * | keyCode, |
| SHORT | shift | ||
| ) |
A key was released while the control has the focus
Will be fired if the user releases a key while the control has the focus.
| [in,out] | keyCode | The released key. Any of the values defined by VB's KeyCodeConstants 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. |
keyCode to 0 to eat the message.| void MClick | ( | DATE | hitDate, |
| 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] | hitDate | The date that was clicked. May be zero. |
| [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 | ( | DATE | hitDate, |
| 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] | hitDate | The date that was double-clicked. May be zero. |
| [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 | ( | DATE | hitDate, |
| 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] | hitDate | The date that the mouse cursor is located over. May be zero. |
| [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 | ( | DATE | hitDate, |
| 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] | hitDate | The date that the mouse cursor is located over. May be zero. |
| [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 | ( | DATE | hitDate, |
| 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 ICalendar::HoverTime property.
| [in] | hitDateThe | date that the mouse cursor is located over. May be zero. |
| [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 | ( | DATE | hitDate, |
| 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] | hitDate | The date that the mouse cursor is located over. May be zero. |
| [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 | ( | DATE | hitDate, |
| 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] | hitDate | The date that the mouse cursor is located over. May be zero. |
| [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 | ( | DATE | hitDate, |
| 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] | hitDate | The date that the mouse cursor is located over. May be zero. |
| [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, | ||
| DATE | 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 date that is below 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, | ||
| DATE | dropTarget, | ||
| SHORT | button, | ||
| SHORT | shift, | ||
| OLE_XPOS_PIXELS | x, | ||
| OLE_YPOS_PIXELS | y, | ||
| HitTestConstants | hitTestDetails, | ||
| LONG * | autoHScrollVelocity | ||
| ) |
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 date that is below 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. |
| [in,out] | autoHScrollVelocity | The speed multiplier for horizontal auto-scrolling. If set to 0, horizontal auto-scrolling is disabled; if set to a value less than 0, the control auto-scrolls to the left; if set to a value greater than 0, the control auto-scrolls to the right. The higher/lower the value is, the faster the control scrolls. |
| void OLEDragLeave | ( | IOLEDataObject * | data, |
| DATE | 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 date that is below 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 OLEDragMouseMove | ( | IOLEDataObject * | data, |
| OLEDropEffectConstants * | effect, | ||
| DATE | dropTarget, | ||
| SHORT | button, | ||
| SHORT | shift, | ||
| OLE_XPOS_PIXELS | x, | ||
| OLE_YPOS_PIXELS | y, | ||
| HitTestConstants | hitTestDetails, | ||
| LONG * | autoHScrollVelocity | ||
| ) |
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 date that is below 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. |
| [in,out] | autoHScrollVelocity | The speed multiplier for horizontal auto-scrolling. If set to 0, horizontal auto-scrolling is disabled; if set to a value less than 0, the control auto-scrolls to the left; if set to a value greater than 0, the control auto-scrolls to the right. The higher/lower the value is, the faster the control scrolls. |
| void RClick | ( | DATE | hitDate, |
| 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] | hitDate | The date that was clicked. May be zero. |
| [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 | ( | DATE | hitDate, |
| 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] | hitDate | The date that was double-clicked. May be zero. |
| [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 ViewChanged | ( | ViewConstants | oldView, |
| ViewConstants | newView | ||
| ) |
The view mode was changed
Will be fired after the control's view mode was changed.
| [in] | oldView | The previous view mode. |
| [in] | newView | The new view mode. |