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.
33 lines
990 B
33 lines
990 B
//+-------------------------------------------------------------------------
|
|
//
|
|
// Microsoft Windows
|
|
//
|
|
// Copyright (C) Microsoft Corporation, 2000-2001
|
|
//
|
|
// File: SelfDeletingPropertyPage.h
|
|
//
|
|
//--------------------------------------------------------------------------
|
|
#ifndef __SELFDELETINGPROPERTYPAGE_H
|
|
#define __SELFDELETINGPROPERTYPAGE_H
|
|
|
|
class CSelfDeletingPropertyPage : public CPropertyPage
|
|
{
|
|
DECLARE_DYNCREATE(CSelfDeletingPropertyPage)
|
|
|
|
public:
|
|
CSelfDeletingPropertyPage ();
|
|
CSelfDeletingPropertyPage (UINT nIDTemplate, UINT nIDCaption = 0);
|
|
CSelfDeletingPropertyPage (LPCTSTR lpszTemplateName, UINT nIDCaption = 0);
|
|
virtual ~CSelfDeletingPropertyPage ();
|
|
|
|
private:
|
|
static UINT CALLBACK PropSheetPageProc(
|
|
HWND hwnd,
|
|
UINT uMsg,
|
|
LPPROPSHEETPAGE ppsp);
|
|
|
|
// hook up the callback for C++ object destruction
|
|
LPFNPSPCALLBACK m_pfnOldPropCallback;
|
|
};
|
|
|
|
#endif // __SELFDELETINGPROPERTYPAGE_H
|