home *** CD-ROM | disk | FTP | other *** search
/ io Programmo 23 / IOPROG_23.ISO / SOFT / VFORM.ZIP / Source / msmask.h < prev    next >
Encoding:
C/C++ Source or Header  |  1998-10-10  |  3.4 KB  |  111 lines

  1. #if !defined(AFX_MSMASK_H__01CA7079_9951_11D1_ADCA_0060089424A8__INCLUDED_)
  2. #define AFX_MSMASK_H__01CA7079_9951_11D1_ADCA_0060089424A8__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. // Dispatch interfaces referenced by this interface
  14. class CPicture;
  15. class COleFont;
  16.  
  17. /////////////////////////////////////////////////////////////////////////////
  18. // CMSMask wrapper class
  19.  
  20. class CMSMask : public CWnd
  21. {
  22. protected:
  23.     DECLARE_DYNCREATE(CMSMask)
  24. public:
  25.     CLSID const& GetClsid()
  26.     {
  27.         static CLSID const clsid
  28.             = { 0xc932ba85, 0x4374, 0x101b, { 0xa5, 0x6c, 0x0, 0xaa, 0x0, 0x36, 0x68, 0xdc } };
  29.         return clsid;
  30.     }
  31.     virtual BOOL Create(LPCTSTR lpszClassName,
  32.         LPCTSTR lpszWindowName, DWORD dwStyle,
  33.         const RECT& rect,
  34.         CWnd* pParentWnd, UINT nID,
  35.         CCreateContext* pContext = NULL)
  36.     { return CreateControl(GetClsid(), lpszWindowName, dwStyle, rect, pParentWnd, nID); }
  37.  
  38.     BOOL Create(LPCTSTR lpszWindowName, DWORD dwStyle,
  39.         const RECT& rect, CWnd* pParentWnd, UINT nID,
  40.         CFile* pPersist = NULL, BOOL bStorage = FALSE,
  41.         BSTR bstrLicKey = NULL)
  42.     { return CreateControl(GetClsid(), lpszWindowName, dwStyle, rect, pParentWnd, nID,
  43.         pPersist, bStorage, bstrLicKey); }
  44.  
  45. // Attributes
  46. public:
  47.  
  48. // Operations
  49. public:
  50.     long GetClipMode();
  51.     void SetClipMode(long nNewValue);
  52.     BOOL GetPromptInclude();
  53.     void SetPromptInclude(BOOL bNewValue);
  54.     BOOL GetAllowPrompt();
  55.     void SetAllowPrompt(BOOL bNewValue);
  56.     BOOL GetAutoTab();
  57.     void SetAutoTab(BOOL bNewValue);
  58.     long GetMousePointer();
  59.     void SetMousePointer(long nNewValue);
  60.     BOOL GetHideSelection();
  61.     void SetHideSelection(BOOL bNewValue);
  62.     short GetMaxLength();
  63.     void SetMaxLength(short nNewValue);
  64.     CString GetFormat();
  65.     void SetFormat(LPCTSTR lpszNewValue);
  66.     CString GetMask();
  67.     void SetMask(LPCTSTR lpszNewValue);
  68.     CString GetFormattedText();
  69.     void SetFormattedText(LPCTSTR lpszNewValue);
  70.     long GetSelLength();
  71.     void SetSelLength(long nNewValue);
  72.     long GetSelStart();
  73.     void SetSelStart(long nNewValue);
  74.     CString GetSelText();
  75.     void SetSelText(LPCTSTR lpszNewValue);
  76.     CString GetClipText();
  77.     void SetClipText(LPCTSTR lpszNewValue);
  78.     CString GetPromptChar();
  79.     void SetPromptChar(LPCTSTR lpszNewValue);
  80.     CString GetText();
  81.     void SetText(LPCTSTR lpszNewValue);
  82.     CPicture GetMouseIcon();
  83.     void SetMouseIcon(LPDISPATCH newValue);
  84.     void SetRefMouseIcon(LPDISPATCH newValue);
  85.     long GetAppearance();
  86.     void SetAppearance(long nNewValue);
  87.     unsigned long GetBackColor();
  88.     void SetBackColor(unsigned long newValue);
  89.     COleFont GetFont();
  90.     void SetRefFont(LPDISPATCH newValue);
  91.     unsigned long GetForeColor();
  92.     void SetForeColor(unsigned long newValue);
  93.     BOOL GetEnabled();
  94.     void SetEnabled(BOOL bNewValue);
  95.     long GetHWnd();
  96.     void SetHWnd(long nNewValue);
  97.     long GetBorderStyle();
  98.     void SetBorderStyle(long nNewValue);
  99.     long GetOLEDragMode();
  100.     void SetOLEDragMode(long nNewValue);
  101.     long GetOLEDropMode();
  102.     void SetOLEDropMode(long nNewValue);
  103.     void Refresh();
  104.     void OLEDrag();
  105. };
  106.  
  107. //{{AFX_INSERT_LOCATION}}
  108. // Microsoft Developer Studio will insert additional declarations immediately before the previous line.
  109.  
  110. #endif // !defined(AFX_MSMASK_H__01CA7079_9951_11D1_ADCA_0060089424A8__INCLUDED_)
  111.