MKI_COMMAND_DATA (Basic Classes) Changed in Version 2015.0

www.CAD6.com

C++ Syntax

class MKI_COMMAND_DATA

{

  public:

 

  __int32 m_nType;

  MKI_COMMAND_ENTRY m_cInputData;

  MKI_MENU_ENTRY m_cMenuData;

  MKI_ICON_DATA m_cIconData;

};

 

This structure contains a command's complete description, i.e. its title, its menu appearance, its icon and the points to be entered by the user.

 

Element Description

Type

[__int32] The use of this value depends on whether this structure is used to identify a plug-in or a plug-in's command. When identifying a plug-in, this value determines the plug-in's use and location (see MKI_PLUGINMENU_*). When identifying a plug-in's command, this value contains command type flags of the plug-in's custom menu or submenu entry (see MKI_MENUMODE_*).

InputData

[MKI_COMMAND_ENTRY] This structure contains information about the required point entries to be performed by the user.

MenuData

[MKI_MENU_ENTRY] This structure contains a textual description of a command or menu and the corresponding menu entry text.

IconData

[MKI_ICON_DATA] Icon for the command or menu.

 

CAD6interface 2024.2 - Copyright 2024 Malz++Kassner® GmbH