CSGetRenderMode Function

Description

Returns the render mode of the Consoul window.

Syntax

VB/A 32bits

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

VB/A 64bits

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

Return Value

The return value is the current render mode:

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

Parameters

hWnd

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

Remarks

The render mode can be changed with CSSetRenderMode. The Consoul window should be refreshed (CSRefreshWindow) after changing the render mode.

Last updated: May 13 2022.