home *** CD-ROM | disk | FTP | other *** search
/ ActiveX Programming Unleashed CD / AXU.iso / componen / interact / demo / data.2 / samples / vc / EXPAND / ENTITY.H < prev    next >
Encoding:
C/C++ Source or Header  |  1996-05-24  |  2.7 KB  |  105 lines

  1. #ifndef __ENTITY_H__
  2. #define __ENTITY_H__
  3.  
  4. // Machine generated IDispatch wrapper class(es) created by Microsoft Visual C++
  5.  
  6. // NOTE: Do not modify the contents of this file.  If this class is regenerated by
  7. //  Microsoft Visual C++, your modifications will be overwritten.
  8.  
  9.  
  10. // Dispatch interfaces referenced by this interface
  11. class COleFont;
  12.  
  13. /////////////////////////////////////////////////////////////////////////////
  14. // CEntity wrapper class
  15.  
  16. class CEntity : public COleDispatchDriver
  17. {
  18. public:
  19.     CEntity() {}        // Calls COleDispatchDriver default constructor
  20.     CEntity(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {}
  21.     CEntity(const CEntity& dispatchSrc) : COleDispatchDriver(dispatchSrc) {}
  22.  
  23. // Attributes
  24. public:
  25.     long GetShape();
  26.     void SetShape(long);
  27.     CString GetText();
  28.     void SetText(LPCTSTR);
  29.     unsigned long GetTextColor();
  30.     void SetTextColor(unsigned long);
  31.     unsigned long GetBackColor();
  32.     void SetBackColor(unsigned long);
  33.     long GetFrame();
  34.     void SetFrame(long);
  35.     BOOL GetBorder();
  36.     void SetBorder(BOOL);
  37.     short GetCoordX();
  38.     void SetCoordX(short);
  39.     short GetCoordY();
  40.     void SetCoordY(short);
  41.     long GetUserData();
  42.     void SetUserData(long);
  43.     COleFont GetFont();
  44.     void SetFont(LPDISPATCH);
  45.     long GetContainer();
  46.     void SetContainer(long);
  47.     long GetTop();
  48.     void SetTop(long);
  49.     long GetBottom();
  50.     void SetBottom(long);
  51.     long GetLeft();
  52.     void SetLeft(long);
  53.     long GetRight();
  54.     void SetRight(long);
  55.     CString GetGraphic();
  56.     void SetGraphic(LPCTSTR);
  57.     long GetTextOrientation();
  58.     void SetTextOrientation(long);
  59.     BOOL GetSelect();
  60.     void SetSelect(BOOL);
  61.     CString GetInetUrl();
  62.     void SetInetUrl(LPCTSTR);
  63.     long GetInetHost();
  64.     void SetInetHost(long);
  65.     BOOL GetTransparent();
  66.     void SetTransparent(BOOL);
  67.     BOOL GetStretchBitmap();
  68.     void SetStretchBitmap(BOOL);
  69.     BOOL GetAutoResize();
  70.     void SetAutoResize(BOOL);
  71.     BOOL GetReadOnly();
  72.     void SetReadOnly(BOOL);
  73.     BOOL GetCanDelete();
  74.     void SetCanDelete(BOOL);
  75.     BOOL GetCanResize();
  76.     void SetCanResize(BOOL);
  77.     BOOL GetCanMove();
  78.     void SetCanMove(BOOL);
  79.     BOOL GetValidRelationDragSource();
  80.     void SetValidRelationDragSource(BOOL);
  81.  
  82. // Operations
  83. public:
  84.     BOOL PropertyPage(short cPage);
  85.     void Repaint();
  86.     long GetRelationInCount();
  87.     long GetRelationOutCount();
  88.     CString ClassName();
  89.     long UserID();
  90.     CString UserName();
  91.     BOOL RemoveEntityFromContainer(LPDISPATCH lpDispEntity);
  92.     BOOL AddEntityToContainer(LPDISPATCH lpDispEntity);
  93.     long GetContainedEntityCount();
  94.     BOOL IterateContainedEntityFirst();
  95.     CEntity IterateContainedEntityNext();
  96.     BOOL IterateRelationInFirst();
  97.     LPDISPATCH IterateRelationInNext();
  98.     BOOL IterateRelationOutFirst();
  99.     LPDISPATCH IterateRelationOutNext();
  100.     void Delete();
  101.     BOOL BringIntoView();
  102. };
  103.  
  104. #endif // __ENTITY_H__
  105.