home *** CD-ROM | disk | FTP | other *** search
/ Mastering Visual Basic 5 / MasteringVisualBasic5.iso / protview / demowinx / data.1 / PVNUME~1.H < prev    next >
Encoding:
C/C++ Source or Header  |  1996-10-29  |  3.4 KB  |  123 lines

  1. #ifndef __PVNUMERIC_H__
  2. #define __PVNUMERIC_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. // CPVNumeric wrapper class
  15.  
  16. class CPVNumeric : public CWnd
  17. {
  18. protected:
  19.     DECLARE_DYNCREATE(CPVNumeric)
  20. public:
  21.     CLSID const& GetClsid()
  22.     {
  23.         static CLSID const clsid
  24.             = { 0xc2000000, 0xffff, 0x1100, { 0x82, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x4 } };
  25.         return clsid;
  26.     }
  27.     virtual BOOL Create(LPCTSTR lpszClassName,
  28.         LPCTSTR lpszWindowName, DWORD dwStyle,
  29.         const RECT& rect,
  30.         CWnd* pParentWnd, UINT nID,
  31.         CCreateContext* pContext = NULL)
  32.     { return CreateControl(GetClsid(), lpszWindowName, dwStyle, rect, pParentWnd, nID); }
  33.  
  34.     BOOL Create(LPCTSTR lpszWindowName, DWORD dwStyle,
  35.         const RECT& rect, CWnd* pParentWnd, UINT nID,
  36.         CFile* pPersist = NULL, BOOL bStorage = FALSE,
  37.         BSTR bstrLicKey = NULL)
  38.     { return CreateControl(GetClsid(), lpszWindowName, dwStyle, rect, pParentWnd, nID,
  39.         pPersist, bStorage, bstrLicKey); }
  40.  
  41. // Attributes
  42. public:
  43.     OLE_COLOR GetBackColor();
  44.     void SetBackColor(OLE_COLOR);
  45.     OLE_COLOR GetForeColor();
  46.     void SetForeColor(OLE_COLOR);
  47.     short GetAppearance();
  48.     void SetAppearance(short);
  49.     short GetBorderStyle();
  50.     void SetBorderStyle(short);
  51.     short GetAlignment();
  52.     void SetAlignment(short);
  53.     short GetDisplayFormat();
  54.     void SetDisplayFormat(short);
  55.     BOOL GetEnabled();
  56.     void SetEnabled(BOOL);
  57.     COleFont GetFont();
  58.     void SetFont(LPDISPATCH);
  59.     OLE_HANDLE GetHWnd();
  60.     void SetHWnd(OLE_HANDLE);
  61.     CString GetText();
  62.     void SetText(LPCTSTR);
  63.     BOOL GetAutoscroll();
  64.     void SetAutoscroll(BOOL);
  65.     BOOL GetReadOnly();
  66.     void SetReadOnly(BOOL);
  67.     short GetEditMode();
  68.     void SetEditMode(short);
  69.     BOOL GetEditModeChange();
  70.     void SetEditModeChange(BOOL);
  71.     unsigned long GetHighlightColor();
  72.     void SetHighlightColor(unsigned long);
  73.     unsigned long GetTextDisabled();
  74.     void SetTextDisabled(unsigned long);
  75.     CString GetDecimalSeparator();
  76.     void SetDecimalSeparator(LPCTSTR);
  77.     short GetFormat();
  78.     void SetFormat(short);
  79.     double GetValueReal();
  80.     void SetValueReal(double);
  81.     long GetValueInteger();
  82.     void SetValueInteger(long);
  83.     BOOL GetModified();
  84.     void SetModified(BOOL);
  85.     double GetValueMin();
  86.     void SetValueMin(double);
  87.     double GetValueMax();
  88.     void SetValueMax(double);
  89.     BOOL GetDecimalDefault();
  90.     void SetDecimalDefault(BOOL);
  91.     CY GetValueCurrency();
  92.     void SetValueCurrency(const CY&);
  93.     short GetHighlightInverted();
  94.     void SetHighlightInverted(short);
  95.     double GetValueSpinDelta();
  96.     void SetValueSpinDelta(double);
  97.     short GetDecimalMin();
  98.     void SetDecimalMin(short);
  99.     short GetDecimalMax();
  100.     void SetDecimalMax(short);
  101.     BOOL GetCanUndo();
  102.     void SetCanUndo(BOOL);
  103.     short GetSelectionPersistance();
  104.     void SetSelectionPersistance(short);
  105.     BOOL GetLimitValue();
  106.     void SetLimitValue(BOOL);
  107.     short GetLimitValueByType();
  108.     void SetLimitValueByType(short);
  109.     BOOL GetSuppressThousand();
  110.     void SetSuppressThousand(BOOL);
  111.     short GetSpinButtons();
  112.     void SetSpinButtons(short);
  113.     double Get_ValueReal();
  114.     void Set_ValueReal(double);
  115.  
  116. // Operations
  117. public:
  118.     BOOL Undo();
  119.     void AboutBox();
  120. };
  121.  
  122. #endif // __PVNUMERIC_H__
  123.