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 / propsht2.h < prev    next >
C/C++ Source or Header  |  1998-03-26  |  1KB  |  38 lines

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