![]() |
MKI_InputDisplayProc (Callback) Changed in Version 6.41 |
www.CAD6.com |
C++ Syntaxvoid MKI_InputDisplayProc( __int32 f_nCommandID, __int32 f_nPointIndex, MKI_DISPLAYDATA_PTR f_pData );
typedef void (*MKI_INPUTDISPLAY_PROC)( __int32 f_nCommandID, __int32 f_nPointIndex, MKI_DISPLAYDATA_PTR f_pData );
This procedure is called during the execution of an external command, i.e. a command that is handled by a plug-in.
ParametersCommandID [__int32] Identifier of the current command. Valid range: 0 <= Value < MKI_PLUGIN_MENU_MAX. PointIndex [__int32] Zero-based index of the point that is currently entered. Valid range: 0 <= Value < MKI_INPUT_MAX. Data Changed in Version 6.31 [MKI_DISPLAYDATA_PTR] Current display data, contains the window device context of the window in which the current input status is to be drawn. Direct all output during this procedure to its element hDrawDC without changing its pen and brush settings, or save and restore it!
CommentThis procedure is called each time a redraw of the current input status is required (either due to mouse movement or due to a WM_PAINT message). At this time, the plug-in should draw the current input status. As no mouse coordinates are passed to this procedure, it's the plug-in's duty to store the required coordinates statically within the MKI_InputPointMoveProc.
This procedure will only be called if the last call to MKI_InputPointMoveProc returned true, i.e. if the current input status is valid.
The name MKI_InputDisplayProc is only a placeholder, the procedure may have any name.
|
CAD6interface 2024.2 - Copyright 2024 Malz++Kassner® GmbH