|
MKI_DialogInitRadio (Dialogs) New in Version 2023.1 |
www.CAD6.com |
C++ Syntaxvoid MKI_DialogInitRadio( HWND f_hWindow, __int32 f_nCtlIDfalse, __int32 f_nCtlIDtrue, bool f_fValue );
This procedure initializes a pair of radio button controls with the given boolean state, i.e. one of the buttons is pressed, the other not.
void MKI_DialogInitRadio( HWND f_hWindow, __int32 f_nCtlIDmin, __int32 f_nCtlIDmax );
This procedure initializes a sequential group of radio button controls with the "indeterminate" state, i.e. none of the buttons is pressed.
voidMKI_DialogInitRadio( HWND f_hWindow, __int32 f_nCtlIDmin, __int32 f_nCtlIDmax, __int32 f_nValue );
This procedure initializes a sequential group of radio button controls with the given integer value (starting with a zero), i.e. one of the buttons is pressed, all others are not.
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_fValue [bool] A boolean value that determines which control shall be set. f_nValue [__int32] An integer value that determines the radio button that shall be set (starting with a zero).
|
CAD6interface 2026.0 - Copyright 2026 Malz++Kassner® GmbH