CSGetRenderMode Function

Description

Changes the render mode of the Consoul window.

Syntax

VB/A 32bits

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

VB/A 64bits

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

Return Value

The return value is the previous render mode.

Parameters

hWnd

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

wRenderMode

Possible values:

Value Render mode
0 continuous render mode (default)
1 by line render mode

Remarks

The Consoul window should be refreshed after changing the render mode.

Last updated: May 13 2022.