CSGetHoverCursor Function


When tracking mode is ON (see CSSetTrackZones and LW_TRACK_ZONES attribute in CSCreateLogWindow), Consoul changes the mouse cursor to a pointing hand (IDC_HAND Win32 API constant) by default. However, the cursor used when hovering over a zone can be changed with the CSSetHoverCursor Consoul API function.

This function, CSGetHoverCursor, returns the Win32 API mouse cursor handle (HCURSOR) that Consoul will switch to when hovering a zone.


VB/A 32bits

Private Declare Function CSGetHoverCursor Lib "consoul_010205_32.dll" ( _
  ByVal hWnd As Long _
) As Long

VB/A 64bits

Private Declare PtrSafe Function CSGetHoverCursor Lib "consoul_010205_64.dll" ( _
  ByVal hWnd As LongPtr _
) As LongPtr

Return Value

The return value.



The window handle (HWND) of the Consoul window, as returned by CSCreateLogWindow.

Last updated: May 13 2022.