![]() |
MKI_DialogControlSetPoint (Dialogs) New in Version 2017.0 |
www.CAD6.com |
C++ Syntaxvoid MKI_DialogControlSetPoint( HWND f_hWindow, __int32 f_nTextCtlIDX, __int32 f_nUnitCtlIDX, __int32 f_nTextCtlIDY, __int32 f_nUnitCtlIDY, MKI_CONST_POINT_REF f_rPoint );
Converts a point's coordinate pair (based on the currently active length unit) to strings and writes those strings along with the current length unit to edit or text controls in a dialog window.
Resulting coordinates 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_nTextCtlIDX [__int32] Identification number of the text or edit control to receive the x coordinate value. Will be ignored if negative. f_nUnitCtlIDX [__int32] Identification number of the text or edit control to receive the x coordinate unit. Will be ignored if negative. f_nTextCtlIDY [__int32] Identification number of the text or edit control to receive the y coordinate value. Will be ignored if negative. f_nUnitCtlIDY [__int32] Identification number of the text or edit control to receive the x coordinate unit. Will be ignored if negative. f_rPoint [MKI_CONST_POINT_REF] Point whose coordinates shall be converted into strings and displayed in the controls.
If you want to display coordinates that were already converted to the currently active length unit, use MKI_DialogControlSetCoordinate twice instead.
|
CAD6interface 2025.0 - Copyright 2025 Malz++Kassner® GmbH