CSSetAutoRedraw Function

Description

Set the auto redraw mode ON or OFF.

Syntax

VB/A 32bits

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

VB/A 64bits

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

Return Value

The return value is the current auto redraw mode, 0 (zero) is OFF, 1 (one) is ON.

Parameters

hWnd

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

Last updated: May 13 2022.