2012-03-27 21:20:36 +00:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include "IPropertySheetPage.h"
|
2018-02-24 15:12:40 +00:00
|
|
|
#include "../Tfe/Uilib.h"
|
2012-03-27 21:20:36 +00:00
|
|
|
|
2012-05-06 22:14:03 +00:00
|
|
|
class CPageConfigTfe : private IPropertySheetPage
|
2012-03-27 21:20:36 +00:00
|
|
|
{
|
|
|
|
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);
|
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:
|
|
|
|
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[];
|
|
|
|
};
|