Advertisement
Guest User

Untitled

a guest
Jun 20th, 2018
607
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.67 KB | None | 0 0
  1. #pragma once
  2. /////////////////////////////////////////////////////////////////////////////
  3. // CMyPropertySheet
  4.  
  5. class CMyPropertySheet : public CMFCPropertySheet
  6. {
  7.     DECLARE_DYNAMIC(CMyPropertySheet)
  8.  
  9.     // Construction
  10. public:
  11.     CMyPropertySheet();
  12.  
  13.     // Attributes
  14. public:
  15.  
  16.     // Operations
  17. public:
  18.  
  19.     // Overrides
  20.  
  21.     virtual BOOL OnInitDialog();
  22.     virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
  23.     void AdjustControlsLayout();
  24.     int ReposButtons(BOOL bRedraw);
  25.  
  26.     // Implementation
  27. public:
  28.     virtual ~CMyPropertySheet();
  29.  
  30. protected:
  31.     afx_msg void OnSize(UINT nType, int cx, int cy);
  32.     DECLARE_MESSAGE_MAP()
  33.  
  34. private:
  35.     CSize m_sizePrev;
  36.     BOOL  m_bInitialized;
  37. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement