Class ToolMacroItem

3DS Max Plug-In SDK

Class ToolMacroItem

See Also: Class ToolItem, Class MacroButtonData, Class ICustButton, Custom Controls.

class ToolMacroItem : public ToolItem

Description:

This class is available in release 3.0 and later only.

This class allows a macro item control to be added to the toolbar.

 

Data Members:

public:

MacroButtonData md;

Points to the macro button data for this tool item.

Methods:

public:

Prototype:

ToolMacroItem(int wd, int ht, MacroButtonData *data, int or = CTB_HORIZ|CTB_VERT|CTB_FLOAT);

Remarks:

Constructor.

Parameters:

int wd

The width of the item.

int ht

The height of the item.

MacroButtonData *data

Points to the macro button data.

int or = CTB_HORIZ|CTB_VERT|CTB_FLOAT

Specifies the orientation. One or more of the following values:

CTB_HORIZ

CTB_VERT

CTB_FLOAT