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

  1. #ifndef __RELATION_H__
  2. #define __RELATION_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. class CEntity;
  13.  
  14. /////////////////////////////////////////////////////////////////////////////
  15. // CRelation wrapper class
  16.  
  17. class CRelation : public COleDispatchDriver
  18. {
  19. public:
  20.     CRelation() {}        // Calls COleDispatchDriver default constructor
  21.     CRelation(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {}
  22.     CRelation(const CRelation& dispatchSrc) : COleDispatchDriver(dispatchSrc) {}
  23.  
  24. // Attributes
  25. public:
  26.     long GetType();
  27.     void SetType(long);
  28.     long GetSourceArrow();
  29.     void SetSourceArrow(long);
  30.     long GetDestinationArrow();
  31.     void SetDestinationArrow(long);
  32.     long GetThickness();
  33.     void SetThickness(long);
  34.     unsigned long GetBackColor();
  35.     void SetBackColor(unsigned long);
  36.     unsigned long GetTextColor();
  37.     void SetTextColor(unsigned long);
  38.     CString GetText();
  39.     void SetText(LPCTSTR);
  40.     long GetUserData();
  41.     void SetUserData(long);
  42.     COleFont GetFont();
  43.     void SetFont(LPDISPATCH);
  44.     BOOL GetReadOnly();
  45.     void SetReadOnly(BOOL);
  46.     BOOL GetCanDelete();
  47.     void SetCanDelete(BOOL);
  48.     BOOL GetCanMoveEndPoints();
  49.     void SetCanMoveEndPoints(BOOL);
  50.     BOOL GetCanMoveMidPoints();
  51.     void SetCanMoveMidPoints(BOOL);
  52.  
  53. // Operations
  54. public:
  55.     BOOL PropertyPage(short cPage);
  56.     void Repaint();
  57.     CString ClassName();
  58.     long UserID();
  59.     CString UserName();
  60.     CEntity SourceEntity();
  61.     CEntity DestinationEntity();
  62.     void Delete();
  63.     BOOL BringIntoView();
  64. };
  65.  
  66. #endif // __RELATION_H__
  67.