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 X location of the mouse pointer. The x values is always expressed in client coordinates. | |||
ExShellFolder | A Folder from the cursor. |
Below example displays the folder from the cursor:
Private Sub ExFolderView1_MouseMove(ByVal Button As Integer, ByVal Shift As Integer, ByVal X As Single, ByVal Y As Single) With ExFolderView1 Dim f As EXFOLDERVIEWLibCtl.ExShellFolder Set f = .FolderFromPoint(-1, -1) If Not (f Is Nothing) Then Debug.Print f.DisplayName End If End With End Sub