CSGetMouseCursor Function

Description

This function returns the Win32 API mouse cursor handle that Consoul windows display.

The mouse cursor can be changed with the CSSetMouseCursor Consoul API function.

Syntax

VB/A 32bits

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

VB/A 64bits

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

Return Value

The return value.

Parameters

hWnd

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

Remarks

Consoul windows display the default arrow mouse cursor (IDC_ARROW) by default.

Last updated: May 13 2022.