![]() |
MKI_DialogControlSetDoubleEx (Dialogs) Changed in Version 2022.2 |
www.CAD6.com |
C++ Syntaxvoid MKI_DialogControlSetDoubleEx( HWND f_hWindow, __int32 f_nTextCtlID, const double f_dValue, __int32 f_nPrecision );
Converts a double value to a string and writes that string to an edit or text control in a dialog window, using a specified number of fractional digits.
Values between -1.0e-100 and 1.0e-100 will always be displayed as 0.0 to avoid funny rounded displays such as -0.0.
Parametersf_hWindow [HWND] Handle of the dialog window that contains the controls. f_nTextCtlID [__int32] Identification number of the text or edit control to receive the double value. f_dValue [double] Floating point value to be converted into a string and displayed in the control. If the value is MKI_DOUBLE_NOVAL, the control will be cleared. f_nPrecision New in Version 2022.2 [__int32] Number of fractional digits to use. Allowed values are 0 to 15.
|
CAD6interface 2025.0 - Copyright 2025 Malz++Kassner® GmbH