aboutsummaryrefslogtreecommitdiff
path: root/SetupDlg.h
blob: f181d217d7a8154d8afbf0a48b5095a1b96bf0d9 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32

#ifndef SETTINGSDIALOG_H
#define SETTINGSDIALOG_H

class CSettingsDialog : public CDialog {
public:
	CSettingsDialog(CWnd *parent = NULL);
	DECLARE_DYNCREATE(CSettingsDialog)
	virtual ~CSettingsDialog();

protected:
	//{{AFX_MSG(CSettingsDialog)
	virtual void OnOK();
	virtual void OnCancel();
	virtual void OnShowNameTips();
	virtual void OnShowInfoTips();
	virtual void OnLang();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()

	void UpdateDialogForNewLanguage(void);

	virtual BOOL OnInitDialog();
	void EnableNameTipButtons(BOOL bEnable);
	void EnableInfoTipButtons(BOOL bEnable);

protected:
	char oldlang[4];
	Lang *oldlangptr;
};

#endif