mirror of
https://github.com/AppleWin/AppleWin.git
synced 2025-01-04 02:30:53 +00:00
0139878dd7
Here are a few changes to make 64-bit build possible. The changes are mainly to use windows api in the correct way that works for both 32-bit and 64-bit builds.
34 lines
897 B
C++
34 lines
897 B
C++
#pragma once
|
|
|
|
#include "IPropertySheetPage.h"
|
|
#include "../Tfe/Uilib.h"
|
|
|
|
class CPageConfigTfe : private IPropertySheetPage
|
|
{
|
|
public:
|
|
CPageConfigTfe()
|
|
{
|
|
CPageConfigTfe::ms_this = this;
|
|
}
|
|
virtual ~CPageConfigTfe(){}
|
|
|
|
static INT_PTR CALLBACK DlgProc(HWND window, UINT message, WPARAM wparam, LPARAM lparam);
|
|
|
|
protected:
|
|
// IPropertySheetPage
|
|
virtual INT_PTR DlgProcInternal(HWND window, UINT message, WPARAM wparam, LPARAM lparam);
|
|
virtual void DlgOK(HWND window);
|
|
virtual void DlgCANCEL(HWND window);
|
|
|
|
private:
|
|
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);
|
|
|
|
static CPageConfigTfe* ms_this;
|
|
static uilib_localize_dialog_param ms_dialog[];
|
|
static uilib_dialog_group ms_leftgroup[];
|
|
static uilib_dialog_group ms_rightgroup[];
|
|
};
|