2012-03-27 21:20:36 +00:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include "IPropertySheetPage.h"
|
|
|
|
#include "PropertySheetDefs.h"
|
|
|
|
class CPropertySheetHelper;
|
|
|
|
|
|
|
|
class CPageDisk : public IPropertySheetPage
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
CPageDisk(CPropertySheetHelper& PropertySheetHelper) :
|
|
|
|
m_Page(PG_DISK),
|
2012-03-31 21:34:02 +00:00
|
|
|
m_PropertySheetHelper(PropertySheetHelper),
|
|
|
|
m_uAfterClose(0)
|
2012-03-27 21:20:36 +00:00
|
|
|
{
|
|
|
|
CPageDisk::ms_this = this;
|
|
|
|
}
|
|
|
|
virtual ~CPageDisk(){}
|
|
|
|
|
|
|
|
static BOOL CALLBACK DlgProc(HWND window, UINT message, WPARAM wparam, LPARAM lparam);
|
|
|
|
|
|
|
|
protected:
|
|
|
|
// IPropertySheetPage
|
|
|
|
virtual BOOL DlgProcInternal(HWND window, UINT message, WPARAM wparam, LPARAM lparam);
|
2012-03-31 21:34:02 +00:00
|
|
|
virtual void DlgOK(HWND window);
|
2012-03-27 21:20:36 +00:00
|
|
|
virtual void DlgCANCEL(HWND window){}
|
|
|
|
|
|
|
|
private:
|
|
|
|
void EnableHDD(HWND window, BOOL bEnable);
|
|
|
|
|
|
|
|
static CPageDisk* ms_this;
|
|
|
|
static const TCHAR m_discchoices[];
|
|
|
|
|
|
|
|
const PAGETYPE m_Page;
|
|
|
|
CPropertySheetHelper& m_PropertySheetHelper;
|
2012-03-31 21:34:02 +00:00
|
|
|
UINT m_uAfterClose;
|
2012-03-27 21:20:36 +00:00
|
|
|
};
|