2012-03-27 21:20:36 +00:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include "IPropertySheetPage.h"
|
|
|
|
#include "PropertySheetDefs.h"
|
|
|
|
class CPropertySheetHelper;
|
|
|
|
|
2012-05-06 22:14:03 +00:00
|
|
|
class CPageAdvanced : private IPropertySheetPage
|
2012-03-27 21:20:36 +00:00
|
|
|
{
|
|
|
|
public:
|
|
|
|
CPageAdvanced(CPropertySheetHelper& PropertySheetHelper) :
|
|
|
|
m_Page(PG_ADVANCED),
|
|
|
|
m_PropertySheetHelper(PropertySheetHelper),
|
|
|
|
m_uTheFreezesF8Rom(0)
|
|
|
|
{
|
|
|
|
CPageAdvanced::ms_this = this;
|
|
|
|
}
|
|
|
|
virtual ~CPageAdvanced(){}
|
|
|
|
|
2012-05-06 22:14:03 +00:00
|
|
|
static BOOL CALLBACK DlgProc(HWND hWnd, UINT message, WPARAM wparam, LPARAM lparam);
|
2012-03-27 21:20:36 +00:00
|
|
|
|
|
|
|
UINT GetTheFreezesF8Rom(void){ return m_uTheFreezesF8Rom; }
|
|
|
|
void SetTheFreezesF8Rom(UINT uValue){ m_uTheFreezesF8Rom = uValue; }
|
|
|
|
|
|
|
|
protected:
|
|
|
|
// IPropertySheetPage
|
2012-05-06 22:14:03 +00:00
|
|
|
virtual BOOL DlgProcInternal(HWND hWnd, UINT message, WPARAM wparam, LPARAM lparam);
|
|
|
|
virtual void DlgOK(HWND hWnd);
|
|
|
|
virtual void DlgCANCEL(HWND hWnd){}
|
2012-03-27 21:20:36 +00:00
|
|
|
|
|
|
|
private:
|
2012-05-06 22:14:03 +00:00
|
|
|
void InitOptions(HWND hWnd);
|
2012-03-27 21:20:36 +00:00
|
|
|
eApple2Type GetCloneType(DWORD NewMenuItem);
|
|
|
|
int GetCloneMenuItem(void);
|
2012-05-06 22:14:03 +00:00
|
|
|
void InitFreezeDlgButton(HWND hWnd);
|
|
|
|
void InitCloneDropdownMenu(HWND hWnd);
|
2012-03-27 21:20:36 +00:00
|
|
|
|
|
|
|
static CPageAdvanced* ms_this;
|
|
|
|
static const TCHAR m_CloneChoices[];
|
|
|
|
|
|
|
|
const PAGETYPE m_Page;
|
|
|
|
CPropertySheetHelper& m_PropertySheetHelper;
|
|
|
|
UINT m_uTheFreezesF8Rom;
|
|
|
|
};
|