CSSetCaretHeight Function

Description

Sets the height of the caret, in pixels. The caret height is not limited.

Syntax

VB/A 32bits

Private Declare Function CSSetCaretHeight Lib "consoul_010205_32.dll" ( _
  ByVal hWnd As Long, _
  ByVal wHeight As Integer _
) As Integer

VB/A 64bits

Private Declare PtrSafe Function CSSetCaretHeight Lib "consoul_010205_64.dll" ( _
  ByVal hWnd As LongPtr, _
  ByVal wHeight As Integer _
) As Integer

Return Value

The return value is the previous caret height.

Parameters

hWnd

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

wHeight

The new caret height.

Last updated: May 13 2022.