home *** CD-ROM | disk | FTP | other *** search
- #ifndef __PVNUMERIC_H__
- #define __PVNUMERIC_H__
-
- // Machine generated IDispatch wrapper class(es) created by Microsoft Visual C++
-
- // NOTE: Do not modify the contents of this file. If this class is regenerated by
- // Microsoft Visual C++, your modifications will be overwritten.
-
-
- // Dispatch interfaces referenced by this interface
- class COleFont;
-
- /////////////////////////////////////////////////////////////////////////////
- // CPVNumeric wrapper class
-
- class CPVNumeric : public CWnd
- {
- protected:
- DECLARE_DYNCREATE(CPVNumeric)
- public:
- CLSID const& GetClsid()
- {
- static CLSID const clsid
- = { 0xc2000000, 0xffff, 0x1100, { 0x82, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x4 } };
- return clsid;
- }
- virtual BOOL Create(LPCTSTR lpszClassName,
- LPCTSTR lpszWindowName, DWORD dwStyle,
- const RECT& rect,
- CWnd* pParentWnd, UINT nID,
- CCreateContext* pContext = NULL)
- { return CreateControl(GetClsid(), lpszWindowName, dwStyle, rect, pParentWnd, nID); }
-
- BOOL Create(LPCTSTR lpszWindowName, DWORD dwStyle,
- const RECT& rect, CWnd* pParentWnd, UINT nID,
- CFile* pPersist = NULL, BOOL bStorage = FALSE,
- BSTR bstrLicKey = NULL)
- { return CreateControl(GetClsid(), lpszWindowName, dwStyle, rect, pParentWnd, nID,
- pPersist, bStorage, bstrLicKey); }
-
- // Attributes
- public:
- OLE_COLOR GetBackColor();
- void SetBackColor(OLE_COLOR);
- OLE_COLOR GetForeColor();
- void SetForeColor(OLE_COLOR);
- short GetAppearance();
- void SetAppearance(short);
- short GetBorderStyle();
- void SetBorderStyle(short);
- short GetAlignment();
- void SetAlignment(short);
- short GetDisplayFormat();
- void SetDisplayFormat(short);
- BOOL GetEnabled();
- void SetEnabled(BOOL);
- COleFont GetFont();
- void SetFont(LPDISPATCH);
- OLE_HANDLE GetHWnd();
- void SetHWnd(OLE_HANDLE);
- CString GetText();
- void SetText(LPCTSTR);
- BOOL GetAutoscroll();
- void SetAutoscroll(BOOL);
- BOOL GetReadOnly();
- void SetReadOnly(BOOL);
- short GetEditMode();
- void SetEditMode(short);
- BOOL GetEditModeChange();
- void SetEditModeChange(BOOL);
- unsigned long GetHighlightColor();
- void SetHighlightColor(unsigned long);
- unsigned long GetTextDisabled();
- void SetTextDisabled(unsigned long);
- CString GetDecimalSeparator();
- void SetDecimalSeparator(LPCTSTR);
- short GetFormat();
- void SetFormat(short);
- double GetValueReal();
- void SetValueReal(double);
- long GetValueInteger();
- void SetValueInteger(long);
- BOOL GetModified();
- void SetModified(BOOL);
- double GetValueMin();
- void SetValueMin(double);
- double GetValueMax();
- void SetValueMax(double);
- BOOL GetDecimalDefault();
- void SetDecimalDefault(BOOL);
- CY GetValueCurrency();
- void SetValueCurrency(const CY&);
- short GetHighlightInverted();
- void SetHighlightInverted(short);
- double GetValueSpinDelta();
- void SetValueSpinDelta(double);
- short GetDecimalMin();
- void SetDecimalMin(short);
- short GetDecimalMax();
- void SetDecimalMax(short);
- BOOL GetCanUndo();
- void SetCanUndo(BOOL);
- short GetSelectionPersistance();
- void SetSelectionPersistance(short);
- BOOL GetLimitValue();
- void SetLimitValue(BOOL);
- short GetLimitValueByType();
- void SetLimitValueByType(short);
- BOOL GetSuppressThousand();
- void SetSuppressThousand(BOOL);
- short GetSpinButtons();
- void SetSpinButtons(short);
- double Get_ValueReal();
- void Set_ValueReal(double);
-
- // Operations
- public:
- BOOL Undo();
- void AboutBox();
- };
-
- #endif // __PVNUMERIC_H__
-