![]() |
MKI_DialogHandleRadio (Dialogs) New in Version 2023.1 |
www.CAD6.com |
C++ Syntaxvoid MKI_DialogHandleRadio( HWND f_hWindow, __int32 f_nCtlIDfalse, __int32 f_nCtlIDtrue, __int32 f_nCtlID, bool& f_rfValue );
This procedure handles the clicking of a true/false pair of radio button controls, i.e. assigns the correct value to the reference value and marks the corresponding radio button as pressed.
void MKI_DialogHandleRadio( HWND f_hWindow, __int32 f_nCtlIDmin, __int32 f_nCtlIDmax, __int32 f_nCtlID, __int32& f_rnValue );
This procedure handles the clicking of a sequential number range group of radio button controls starting with zero, i.e. assigns the correct value to the reference value and marks the corresponding radio button as pressed.
Parametersf_hWindow [HWND] Handle of the dialog window that contains the radio button controls. f_nCtlIDfalse [__int32] Identification number of the radio button control associated with "false". Must be different from f_nCtlIDtrue. f_nCtlIDtrue [__int32] Identification number of the radio button control associated with "true". Must be different from f_nCtlIDfalse. f_nCtlIDmin [__int32] Identification number of the first radio button control in the sequential group that shall be handled. Must be smaller than or identical to f_nCtlIDmax. f_nCtlIDmax [__int32] Identification number of the last radio button control in the sequential group that shall be handled. Must be larger than or identical to f_nCtlIDmin. f_nCtlID [__int32] Identification number of the radio button that was clicked (should be in the selection or range stated above). f_rfValue [bool&] Reference of a boolean value that receives false or true depending on which control was clicked. f_rnValue [__int32&] Reference of a value that receives the number of the radio button that was clicked (starting with a zero).
|
CAD6interface 2025.0 - Copyright 2025 Malz++Kassner® GmbH