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(){}
|
|
|
|
|
2021-01-01 12:57:40 +00:00
|
|
|
static INT_PTR CALLBACK DlgProc(HWND window, UINT message, WPARAM wparam, LPARAM lparam);
|
2012-03-27 21:20:36 +00:00
|
|
|
|
|
|
|
protected:
|
|
|
|
// IPropertySheetPage
|
2021-01-01 12:57:40 +00:00
|
|
|
virtual INT_PTR 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:
|
2020-11-29 17:22:50 +00:00
|
|
|
BOOL get_tfename(int number, char **ppname, char **ppdescription);
|
|
|
|
int gray_ungray_items(HWND hwnd);
|
|
|
|
void init_tfe_dialog(HWND hwnd);
|
|
|
|
void save_tfe_dialog(HWND hwnd);
|
2012-03-27 21:20:36 +00:00
|
|
|
|
|
|
|
static CPageConfigTfe* ms_this;
|
|
|
|
static uilib_localize_dialog_param ms_dialog[];
|
|
|
|
static uilib_dialog_group ms_leftgroup[];
|
|
|
|
static uilib_dialog_group ms_rightgroup[];
|
|
|
|
};
|