#pragma once #include class CMyPropPage : public CDialogEx { public: CMyPropPage() :CDialogEx() {}; CMyPropPage(UINT nTemplate, CWnd * pWnd = (CWnd *)0) :CDialogEx(nTemplate, pWnd) {}; virtual ~CMyPropPage() {}; virtual int SetData() { return 0; }; virtual int GetData() { return 0; }; void * DataPtr = nullptr; };