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

  1. // propsht.h : interface of the CModalShapePropSheet class
  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. class CModalShapePropSheet : public CPropertySheet
  14. {
  15. public:
  16.     DECLARE_DYNAMIC(CModalShapePropSheet)
  17.     CModalShapePropSheet(CWnd* pWndParent = NULL);
  18.  
  19. // Attributes
  20.     CStylePage m_stylePage;
  21.     CColorPage m_colorPage;
  22.     CShapePreviewWnd m_wndPreview;
  23.  
  24. // Operations
  25.     void SetSheetPropsFromShape(CShape* pShape);
  26.     void SetShapePropsFromSheet(CShape* pShape);
  27.     void UpdateShapePreview();
  28.  
  29. // Overrides
  30.     virtual BOOL OnInitDialog();
  31.  
  32. // Message Handlers
  33. protected:
  34.     //{{AFX_MSG(CModalShapePropSheet)
  35.     afx_msg void OnApplyNow();
  36.     //}}AFX_MSG
  37.     DECLARE_MESSAGE_MAP()
  38. };
  39.