Type | Description | |||
X as OLE_XPOS_PIXELS | A single that specifies the current X location of the mouse pointer. The x values is always expressed in client coordinates. | |||
Y as OLE_YPOS_PIXELS | A single that specifies the current Y location of the mouse pointer. The y values is always expressed in client coordinates. | |||
Note | A Note object from the cursor. Nothing or Null object of no note from the point. |
The following VB sample displays the ID of the Note from the cursor:
Private Sub G2antt1_MouseMove(Button As Integer, Shift As Integer, X As Single, Y As Single) With G2antt1.Chart Dim n As EXG2ANTTLibCtl.Note Set n = .NoteFromPoint(-1, -1) If (Not n Is Nothing) Then Debug.Print n.ID End If End With End Sub