[5641a0]: StrRefDlg.h Maximize Restore History

Download this file

StrRefDlg.h    91 lines (80 with data), 2.6 kB

 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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
#if !defined(AFX_STRREFDLG_H__B5E0D187_9E65_4566_843F_C649D01EB2F2__INCLUDED_)
#define AFX_STRREFDLG_H__B5E0D187_9E65_4566_843F_C649D01EB2F2__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// StrRefDlg.h : header file
//
/////////////////////////////////////////////////////////////////////////////
// CStrRefDlg dialog
#define TLK_TEXT 1
#define TLK_SOUND 2
#define TLK_TAGGED 4
class CStrRefDlg : public CDialog
{
// Construction
public:
CStrRefDlg(CWnd* pParent = NULL); // standard constructor
// Dialog Data
//{{AFX_DATA(CStrRefDlg)
enum { IDD = IDD_STRREFDLG };
CSpinButtonCtrl m_spin_control;
CEdit m_strref_control;
CEdit m_text_control;
CString m_sound;
BOOL m_tag;
CString m_maxstr;
//}}AFX_DATA
long OnFindReplace(WPARAM wParam, LPARAM lParam);
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CStrRefDlg)
public:
virtual BOOL PreTranslateMessage(MSG* pMsg);
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
int m_refresh;
long m_strref;
int m_mode;
CFindReplaceDialog *m_searchdlg;
CToolTipCtrl m_tooltip;
int do_search_and_replace(int direction,int mode,int match,CString search,CString replace);
void StartFindReplace(int mode);
void SetTextControl(CString text);
CString GetTextControl();
void Allocate(int maxref);
int EntryCount(FILE *fpoi);
int ReadDlg(FILE *fpoi, int maxref);
// Generated message map functions
//{{AFX_MSG(CStrRefDlg)
afx_msg void OnUpdateStrref();
afx_msg void OnKillfocusText();
afx_msg void OnBrowse();
afx_msg void OnKillfocusSound();
afx_msg void OnTag();
afx_msg void OnSearch();
afx_msg void OnPlay();
virtual BOOL OnInitDialog();
afx_msg void OnFind();
afx_msg void OnSave();
afx_msg void OnReload();
afx_msg void OnTrim();
afx_msg void OnClear();
afx_msg void OnKillfocusStrref();
afx_msg void OnChecksound();
afx_msg void OnChecktag();
afx_msg void OnToolsSynchronisetlks();
afx_msg void OnCheckSpecialstrings();
afx_msg void OnSearchWeirdcharacter();
afx_msg void OnToolsAllocateentries();
afx_msg void OnFileExportcsv();
afx_msg void OnFileImportcsv();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_STRREFDLG_H__B5E0D187_9E65_4566_843F_C649D01EB2F2__INCLUDED_)