MKI_CONTEXT_COMMAND (Basic Classes) New in Version 2023.2

www.CAD6.com

C++ Syntax

class MKI_CONTEXT_COMMAND

{

  public:

 

  MKI_POINT m_cPoint;

  __int32   m_nCommandID;

 

  MKI_CONTEXT_COMMAND( void );

 

  void

  Init( void );

};

 

This structure contains information use to perform a context menu command by the plug-in.

 

Element Description

m_cPoint

[MKI_POINT] Coordinates in internal millimeters of the point that was right-clicked by the user to call the context menu. Can be used to identify which sub-element of the extended object shall be handled. This value must not be modified!

m_nCommandID

[__int32] ID of the command that the user chose. This ID is taken from the MKI_CONTEXT_MENU structure returned as a reply to a MKI_NOTIFY_EXT_FILL_CONTEXT call.

 

CAD6interface 2024.2 - Copyright 2024 Malz++Kassner® GmbH