CSRedrawLine Function

Description

Forces a repaint for the specified line.

Syntax

VB/A 32bits

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

VB/A 64bits

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

Return Value

The return value is 1 (one) if no errors, 0 (zero) if an error occurred..

Parameters

hWnd

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

iLine

The number of the line to repaint.

Remarks

If auto redraw is turned off, no repainting will occur.

Last updated: May 13 2022.