CSSetMultiZoneClick Function

Description

Changes the multi zone click mode of the Consoul window.

Multi zone click mode is the ability of the Consoul library to call back the host multiple times on one mouse click, if that click happens in an area where multiple zones overlap.

Syntax

VB/A 32bits

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

VB/A 64bits

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

Return Value

The return value is the previous multi zone click mode, either 0 (zero) if the mode was OFF or 1 (one) if it was ON.

Parameters

hWnd

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

wMulti

either 1 (one) to activate the multi zone click mode (ON) or 0 (zero) to switch it OFF.

Remarks

The multi zone click mode is OFF by default, as it's field of application is rather peculiar.

Last updated: May 13 2022.