Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

32 lines
958 B

  1. //+-------------------------------------------------------------------------
  2. //
  3. // Microsoft Windows
  4. //
  5. // Copyright (C) Microsoft Corporation, 2000-2001
  6. //
  7. // File: SelfDeletingPropertyPage.h
  8. //
  9. //--------------------------------------------------------------------------
  10. #ifndef __SELFDELETINGPROPERTYPAGE_H
  11. #define __SELFDELETINGPROPERTYPAGE_H
  12. class CSelfDeletingPropertyPage : public CPropertyPage
  13. {
  14. DECLARE_DYNCREATE(CSelfDeletingPropertyPage)
  15. public:
  16. CSelfDeletingPropertyPage ();
  17. CSelfDeletingPropertyPage (UINT nIDTemplate, UINT nIDCaption = 0);
  18. CSelfDeletingPropertyPage (LPCTSTR lpszTemplateName, UINT nIDCaption = 0);
  19. virtual ~CSelfDeletingPropertyPage ();
  20. private:
  21. static UINT CALLBACK PropSheetPageProc(
  22. HWND hwnd,
  23. UINT uMsg,
  24. LPPROPSHEETPAGE ppsp);
  25. // hook up the callback for C++ object destruction
  26. LPFNPSPCALLBACK m_pfnOldPropCallback;
  27. };
  28. #endif // __SELFDELETINGPROPERTYPAGE_H