Public Types | Public Member Functions

IVisualMSForm Class Reference

Search for all occurrences

#include <visualmaxscript.h>

Inheritance diagram for IVisualMSForm:
Inheritance graph
[legend]

List of all members.

Public Types

enum   { open, close, genScript }

Public Member Functions

virtual void  Open (IVisualMSCallback *cb=NULL, MCHAR *source=NULL)=0
virtual void  Close ()=0
virtual void  InitForm (MCHAR *formType, MCHAR *formName, MCHAR *caption)=0
virtual void  SetWidth (int w)=0
virtual void  SetHeight (int h)=0
virtual IVisualMSItem AddItem (MCHAR *itemType, MCHAR *itemName, MCHAR *text, int src_from=-1, int src_to=-1)=0
virtual IVisualMSItem AddCode (MCHAR *code, int src_from=-1, int src_to=-1)=0
virtual IVisualMSItem FindItem (MCHAR *itemName)=0
virtual BOOL  GenScript (MSTR &script, MCHAR *indent=NULL)=0
virtual BOOL  HasSourceBounds (int &from, int &to)=0
virtual void  SetSourceBounds (int from, int to)=0
FPInterfaceDesc GetDesc ()
BEGIN_FUNCTION_MAP  VFN_0 (open, Open)
  VFN_0 (close, Close)
  FN_1 (genScript, TYPE_BOOL, GenScript, TYPE_TSTR_BR)

Member Enumeration Documentation

anonymous enum

Member Function Documentation

virtual void Open ( IVisualMSCallback cb = NULL,
MCHAR *  source = NULL 
) [pure virtual]
virtual void Close ( ) [pure virtual]
virtual void InitForm ( MCHAR *  formType,
MCHAR *  formName,
MCHAR *  caption 
) [pure virtual]
virtual void SetWidth ( int  w ) [pure virtual]
virtual void SetHeight ( int  h ) [pure virtual]
virtual IVisualMSItem* AddItem ( MCHAR *  itemType,
MCHAR *  itemName,
MCHAR *  text,
int  src_from = -1,
int  src_to = -1 
) [pure virtual]
virtual IVisualMSItem* AddCode ( MCHAR *  code,
int  src_from = -1,
int  src_to = -1 
) [pure virtual]
virtual IVisualMSItem* FindItem ( MCHAR *  itemName ) [pure virtual]
virtual BOOL GenScript ( MSTR script,
MCHAR *  indent = NULL 
) [pure virtual]
virtual BOOL HasSourceBounds ( int &  from,
int &  to 
) [pure virtual]
virtual void SetSourceBounds ( int  from,
int  to 
) [pure virtual]
FPInterfaceDesc* GetDesc ( ) [virtual]
Remarks:
Returns a pointer to the class which contains the interface metadata.

Implements FPInterface.

BEGIN_FUNCTION_MAP VFN_0 ( open  ,
Open   
)
VFN_0 ( close  ,
Close   
)
FN_1 ( genScript  ,
TYPE_BOOL  ,
GenScript  ,
TYPE_TSTR_BR   
)

IVisualMSForm IVisualMSForm IVisualMSForm IVisualMSForm IVisualMSForm IVisualMSForm IVisualMSForm IVisualMSForm IVisualMSForm IVisualMSForm
IVisualMSForm IVisualMSForm IVisualMSForm IVisualMSForm IVisualMSForm IVisualMSForm IVisualMSForm IVisualMSForm IVisualMSForm IVisualMSForm