home *** CD-ROM | disk | FTP | other *** search
/ Tricks of the Windows Gam…ming Gurus (2nd Edition) / Disc2.iso / msdn_vcb / samples / vc98 / mfc / database / mdibind / msmask.h < prev    next >
C/C++ Source or Header  |  1998-03-26  |  3KB  |  103 lines

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