#include <custcont.h>
Public Member Functions |
|
CoreExport | MacroButtonData () |
CoreExport | MacroButtonData (long tID, int cID, const MCHAR *lbl, const MCHAR *tp=NULL, int imID=-1, const MCHAR *imName=NULL) |
CoreExport | MacroButtonData (int msID, const MCHAR *lbl, const MCHAR *tp=NULL, int imID=-1, const MCHAR *imName=NULL) |
CoreExport | ~MacroButtonData () |
CoreExport MacroButtonData & | operator= (const MacroButtonData &mbd) |
CoreExport void | SetLabel (const MCHAR *lbl) |
const MCHAR * | GetLabel () |
CoreExport void | SetTip (const MCHAR *tp) |
MCHAR * | GetTip () |
void | SetCmdID (int id) |
int | GetCmdID () |
void | SetScriptID (int id) |
int | GetScriptID () |
CoreExport void | SetImageName (const MCHAR *imName) |
const MCHAR * | GetImageName () |
void | SetImageID (int id) |
int | GetImageID () |
void | SetTblID (ActionTableId id) |
ActionTableId | GetTblID () |
void | SetActionItem (ActionItem *pAction) |
ActionItem * | GetActionItem () |
CoreExport BOOL | IsActionButton () |
Public Attributes |
|
int | macroType |
ActionTableId | tblID |
int | cmdID |
int | macroScriptID |
MCHAR * | label |
MCHAR * | tip |
MCHAR * | imageName |
int | imageID |
ActionItem * | actionItem |
DWORD | flags |
CoreExport MacroButtonData | ( | ) | [inline] |
CoreExport MacroButtonData | ( | long | tID, |
int | cID, | ||
const MCHAR * | lbl, | ||
const MCHAR * | tp = NULL , |
||
int | imID = -1 , |
||
const MCHAR * | imName =
NULL |
||
) |
CoreExport MacroButtonData | ( | int | msID, |
const MCHAR * | lbl, | ||
const MCHAR * | tp = NULL , |
||
int | imID = -1 , |
||
const MCHAR * | imName =
NULL |
||
) | [inline] |
{ macroType=MB_TYPE_SCRIPT; macroScriptID=msID; imageID=imID; label=NULL; SetLabel(lbl); tip=NULL; SetTip(tp); imageName=NULL; SetImageName(imName); }
CoreExport ~MacroButtonData | ( | ) |
CoreExport MacroButtonData& operator= | ( | const MacroButtonData & | mbd | ) |
CoreExport void SetLabel | ( | const MCHAR * | lbl | ) |
const MCHAR* GetLabel | ( | ) | [inline] |
CoreExport void SetTip | ( | const MCHAR * | tp | ) |
MCHAR* GetTip | ( | ) | [inline] |
void SetCmdID | ( | int | id | ) | [inline] |
int GetCmdID | ( | ) | [inline] |
void SetScriptID | ( | int | id | ) | [inline] |
int GetScriptID | ( | ) | [inline] |
CoreExport void SetImageName | ( | const MCHAR * | imName | ) |
imName | The name to set. |
const MCHAR* GetImageName | ( | ) | [inline] |
void SetImageID | ( | int | id | ) | [inline] |
int GetImageID | ( | ) | [inline] |
void SetTblID | ( | ActionTableId | id | ) | [inline] |
id | The ActionTableID ID to set. |
{ tblID = id; }
ActionTableId GetTblID | ( | ) | [inline] |
void SetActionItem | ( | ActionItem * | pAction | ) | [inline] |
pAction | A point to the ActionItem to set. |
{ actionItem = pAction; }
ActionItem* GetActionItem | ( | ) | [inline] |
{ return actionItem; }
CoreExport BOOL IsActionButton | ( | ) | [inline] |
ActionTableId tblID |
MCHAR* label |
MCHAR* tip |