MKI_DialogHandleMultiCheckInvert (Dialogs) New in Version 2024.0

www.CAD6.com

C++ Syntax

void

MKI_DialogHandleMultiCheckInvert(

 HWND f_hWindow,

 __int32 f_nCtlIDmin,

 __int32 f_nCtlIDmax,

 __int32 f_nCtlID,

 __int32& f_rnValue );

 

This procedure handles the inverting of a check box control in a sequence of check boxes, i.e. assigns the correct value to the reference value and toggles the corresponding check box's state. Cannot handle sequences with more than 32 check boxes.

 

Parameters

f_hWindow

[HWND] Handle of the dialog window that contains the check box control.

f_nCtlIDmin

[__int32] Identification number of the first check box control in the sequence. Must not be larger than f_nCtlIDmax.

f_nCtlIDmax

[__int32] Identification number of the last check box control in the sequence. Must not be smaller than f_nCtlIDmin.

f_nCtlID

[__int32] Identification number of the check box control actually triggered.

f_rnValue

[__int32&] Reference of a value which controls the check boxes. The first check box is linked to the least significant bit of this value (bit 0), the second check box to the next bit (bit 1), and so on. The appropriate bit will be inverted.

 

CAD6interface 2025.0 - Copyright 2025 Malz++Kassner® GmbH