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

  1. // docopt.h : header file
  2. //
  3. // This is a part of the Microsoft Foundation Classes C++ library.
  4. // Copyright (C) 1992-1998 Microsoft Corporation
  5. // All rights reserved.
  6. //
  7. // This source code is only intended as a supplement to the
  8. // Microsoft Foundation Classes Reference and related
  9. // electronic documentation provided with the library.
  10. // See these sources for detailed information regarding the
  11. // Microsoft Foundation Classes product.
  12.  
  13. /////////////////////////////////////////////////////////////////////////////
  14. // CDocOptPage dialog
  15.  
  16. class CDocOptPage : public CCSPropertyPage
  17. {
  18. // Construction
  19. public:
  20.     CDocOptPage();
  21.     CDocOptPage(UINT nIDCaption);
  22.     ~CDocOptPage();
  23.  
  24. // Dialog Data
  25.     //{{AFX_DATA(CDocOptPage)
  26.     enum { IDD = IDD_OPTIONS_WRAP };
  27.     int     m_nWordWrap;
  28.     BOOL    m_bFormatBar;
  29.     BOOL    m_bRulerBar;
  30.     BOOL    m_bStatusBar;
  31.     BOOL    m_bToolBar;
  32.     //}}AFX_DATA
  33.  
  34.  
  35. // Overrides
  36.     static const DWORD m_nHelpIDs[];
  37.     virtual const DWORD* GetHelpIDs() {return m_nHelpIDs;}
  38.     // ClassWizard generate virtual function overrides
  39.     //{{AFX_VIRTUAL(CDocOptPage)
  40.     protected:
  41.     virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
  42.     //}}AFX_VIRTUAL
  43.  
  44. // Implementation
  45. protected:
  46.     // Generated message map functions
  47.     //{{AFX_MSG(CDocOptPage)
  48.         // NOTE: the ClassWizard will add member functions here
  49.     //}}AFX_MSG
  50.     DECLARE_MESSAGE_MAP()
  51.  
  52. };
  53.  
  54. class CEmbeddedOptPage : public CDocOptPage
  55. {
  56. // Construction
  57. public:
  58.     CEmbeddedOptPage();
  59. // Overrides
  60.     BOOL OnInitDialog();
  61. };
  62.