home *** CD-ROM | disk | FTP | other *** search
/ Delphi 5 for Professionals / DELPHI5.iso / AddOns / Components / RealTime Graphics ActiveX / DATA.3 / Examples / CPP / UITools / qcgrpbut.h < prev    next >
Encoding:
C/C++ Source or Header  |  1997-10-21  |  3.2 KB  |  99 lines

  1. #if !defined(AFX_QCGRPBUT_H__13FCF016_4A14_11D1_A956_00C0F6A06F60__INCLUDED_)
  2. #define AFX_QCGRPBUT_H__13FCF016_4A14_11D1_A956_00C0F6A06F60__INCLUDED_
  3.  
  4. #if _MSC_VER >= 1000
  5. #pragma once
  6. #endif // _MSC_VER >= 1000
  7. // Machine generated IDispatch wrapper class(es) created by Microsoft Visual C++
  8.  
  9. // NOTE: Do not modify the contents of this file.  If this class is regenerated by
  10. //  Microsoft Visual C++, your modifications will be overwritten.
  11.  
  12. /////////////////////////////////////////////////////////////////////////////
  13. // CQCGrpBut wrapper class
  14.  
  15. class CQCGrpBut : public CWnd
  16. {
  17. protected:
  18.     DECLARE_DYNCREATE(CQCGrpBut)
  19. public:
  20.     CLSID const& GetClsid()
  21.     {
  22.         static CLSID const clsid
  23.             = { 0xb0a82cc9, 0xe89f, 0x11d0, { 0xa9, 0x56, 0x0, 0xc0, 0xf6, 0xa0, 0x6f, 0x60 } };
  24.         return clsid;
  25.     }
  26.     virtual BOOL Create(LPCTSTR lpszClassName,
  27.         LPCTSTR lpszWindowName, DWORD dwStyle,
  28.         const RECT& rect,
  29.         CWnd* pParentWnd, UINT nID,
  30.         CCreateContext* pContext = NULL)
  31.     { return CreateControl(GetClsid(), lpszWindowName, dwStyle, rect, pParentWnd, nID); }
  32.  
  33.     BOOL Create(LPCTSTR lpszWindowName, DWORD dwStyle,
  34.         const RECT& rect, CWnd* pParentWnd, UINT nID,
  35.         CFile* pPersist = NULL, BOOL bStorage = FALSE,
  36.         BSTR bstrLicKey = NULL)
  37.     { return CreateControl(GetClsid(), lpszWindowName, dwStyle, rect, pParentWnd, nID,
  38.         pPersist, bStorage, bstrLicKey); }
  39.  
  40. // Attributes
  41. public:
  42.     CString GetControlTitleFont();
  43.     void SetControlTitleFont(LPCTSTR);
  44.     long GetControlTitleColor();
  45.     void SetControlTitleColor(long);
  46.     long GetControlTitleFontStyle();
  47.     void SetControlTitleFontStyle(long);
  48.     long GetControlTitleFontSize();
  49.     void SetControlTitleFontSize(long);
  50.     long GetControlBorderStyle();
  51.     void SetControlBorderStyle(long);
  52.     long GetControlBorderColor();
  53.     void SetControlBorderColor(long);
  54.     long GetControlColor();
  55.     void SetControlColor(long);
  56.     long GetControlBackgroundColor();
  57.     void SetControlBackgroundColor(long);
  58.     double GetControlBottom();
  59.     void SetControlBottom(double);
  60.     double GetControlLeft();
  61.     void SetControlLeft(double);
  62.     double GetControlRight();
  63.     void SetControlRight(double);
  64.     double GetControlTop();
  65.     void SetControlTop(double);
  66.     long GetControlBorderThickness();
  67.     void SetControlBorderThickness(long);
  68.     CString GetControlTitleString();
  69.     void SetControlTitleString(LPCTSTR);
  70.     long GetControlButtonStyle();
  71.     void SetControlButtonStyle(long);
  72.     long GetControlButtonLook();
  73.     void SetControlButtonLook(long);
  74.     CString GetControllButtonString();
  75.     void SetControllButtonString(LPCTSTR);
  76.     BOOL GetControlButtonLeftText();
  77.     void SetControlButtonLeftText(BOOL);
  78.     long GetControlNumButtons();
  79.     void SetControlNumButtons(long);
  80.     BOOL GetControlButtonHorizontal();
  81.     void SetControlButtonHorizontal(BOOL);
  82.     long GetControlOffColor();
  83.     void SetControlOffColor(long);
  84.     long GetControlButtonState();
  85.     void SetControlButtonState(long);
  86.  
  87. // Operations
  88. public:
  89.     long ChangeButtonState(long nSel);
  90.     void ChangeButtonColor(long rgbNewColor, long nSel);
  91.     void UpdateControl();
  92.     void AboutBox();
  93. };
  94.  
  95. //{{AFX_INSERT_LOCATION}}
  96. // Microsoft Developer Studio will insert additional declarations immediately before the previous line.
  97.  
  98. #endif // !defined(AFX_QCGRPBUT_H__13FCF016_4A14_11D1_A956_00C0F6A06F60__INCLUDED_)
  99.