#ifndef _PROPSHEET_H
#define _PROPSHEET_H
#if _MSC_VER >= 1000
#pragma once
#endif
#include "PropPageAudio.h"
class CPropSheet : public CPropertySheetImpl<CPropSheet>
{
public:
CPropSheet ( _U_STRINGorID title = (LPCTSTR) NULL,
UINT uStartPage = 0, HWND hWndParent = NULL );
BEGIN_MSG_MAP(CPropSheet)
MESSAGE_HANDLER(WM_SHOWWINDOW, OnShowWindow)
MESSAGE_HANDLER(WM_DESTROY, OnDestroy)
CHAIN_MSG_MAP(CPropertySheetImpl<CPropSheet>)
END_MSG_MAP()
LRESULT OnDestroy(UINT , WPARAM , LPARAM , BOOL& bHandled);
LRESULT OnShowWindow(UINT , WPARAM , LPARAM , BOOL& bHandled);
CPropPageAudio propPageAudio;
UINT lastPage;
protected:
bool m_bCentered;
};
#endif