home *** CD-ROM | disk | FTP | other *** search
- #ifndef __MASKEDIT_H__
- #define __MASKEDIT_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;
-
- /////////////////////////////////////////////////////////////////////////////
- // CMaskEdit wrapper class
-
- class CMaskEdit : public CWnd
- {
- protected:
- DECLARE_DYNCREATE(CMaskEdit)
- public:
- CLSID const& GetClsid()
- {
- static CLSID const clsid
- = { 0xc2000000, 0xffff, 0x1100, { 0x80, 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);
- CString GetPromptCharacter();
- void SetPromptCharacter(LPCTSTR);
- short GetAlignment();
- void SetAlignment(short);
- short GetDisplayFormat();
- void SetDisplayFormat(short);
- CString GetMask();
- void SetMask(LPCTSTR);
- 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 GetTextWithMask();
- void SetTextWithMask(LPCTSTR);
- short GetSelectionPersistance();
- void SetSelectionPersistance(short);
- short GetCopyEmptyMask();
- void SetCopyEmptyMask(short);
- short GetCopyTextAndMask();
- void SetCopyTextAndMask(short);
- short GetHighlightInverted();
- void SetHighlightInverted(short);
- BOOL GetModified();
- void SetModified(BOOL);
- BOOL GetCanUndo();
- void SetCanUndo(BOOL);
- CString Get_Text();
- void Set_Text(LPCTSTR);
-
- // Operations
- public:
- BOOL Undo();
- void AboutBox();
- };
-
- #endif // __MASKEDIT_H__
-