Public Member Functions | Public Attributes

ToolMacroItem Class Reference

Search for all occurrences

Detailed Description

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

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

Data Members:
MacroButtonData md;

Points to the macro button data for this tool item.

#include <custcont.h>

Inheritance diagram for ToolMacroItem:
Inheritance graph
[legend]

List of all members.

Public Member Functions

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

Public Attributes

MacroButtonData  md

Constructor & Destructor Documentation

ToolMacroItem ( int  wd,
int  ht,
MacroButtonData data,
int  or = CTB_HORIZ|CTB_VERT|CTB_FLOAT 
) [inline]
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
            { 
            type = CTB_MACROBUTTON;
            md = *data; 
            orient = or;
            w = wd; h = ht; id = 0; helpID = 0;
            }

Member Data Documentation


ToolMacroItem ToolMacroItem ToolMacroItem ToolMacroItem ToolMacroItem ToolMacroItem ToolMacroItem ToolMacroItem ToolMacroItem ToolMacroItem
ToolMacroItem ToolMacroItem ToolMacroItem ToolMacroItem ToolMacroItem ToolMacroItem ToolMacroItem ToolMacroItem ToolMacroItem ToolMacroItem