AppleWin/source/Configuration/PageConfigTfe.h
2014-05-23 22:59:02 +01:00

34 lines
955 B
C++

#pragma once
#include "IPropertySheetPage.h"
#include "..\Tfe\Uilib.h"
class CPageConfigTfe : private IPropertySheetPage
{
public:
CPageConfigTfe()
{
CPageConfigTfe::ms_this = this;
}
virtual ~CPageConfigTfe(){}
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);
virtual void DlgOK(HWND window);
virtual void DlgCANCEL(HWND window);
private:
BOOL CPageConfigTfe::get_tfename(int number, char **ppname, char **ppdescription);
int CPageConfigTfe::gray_ungray_items(HWND hwnd);
void CPageConfigTfe::init_tfe_dialog(HWND hwnd);
void CPageConfigTfe::save_tfe_dialog(HWND hwnd);
static CPageConfigTfe* ms_this;
static uilib_localize_dialog_param ms_dialog[];
static uilib_dialog_group ms_leftgroup[];
static uilib_dialog_group ms_rightgroup[];
};