blob: c3410c49bcb67cfaa8073f874dbc9abb6b96b304 (
plain)
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
|
#if !defined(AFX_JS_RESPONSEDLG_H__AE1575EB_3F0A_46E7_B278_089C74F2B34C__INCLUDED_)
#define AFX_JS_RESPONSEDLG_H__AE1575EB_3F0A_46E7_B278_089C74F2B34C__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// JS_ResponseDlg.h : header file
//
/////////////////////////////////////////////////////////////////////////////
// CJS_ResponseDlg dialog
class CJS_ResponseDlg : public CDialog
{
// Construction
public:
CJS_ResponseDlg(CWnd* pParent = NULL); // standard constructor
~CJS_ResponseDlg(){ if(m_swResponse) free(m_swResponse); }
// Dialog Data
//{{AFX_DATA(CJS_ResponseDlg)
enum { IDD = IDD_DLG_RESPONSE };
// NOTE: the ClassWizard will add data members here
//}}AFX_DATA
public:
void SetTitle(FPDF_WIDESTRING swTitle);
void SetQuestion(FPDF_WIDESTRING swQuestion);
void SetDefault(FPDF_WIDESTRING swDefault);
void SetLabel(FPDF_WIDESTRING swLabel);
void SetIsVisible(FPDF_BOOL bPassword);
FPDF_WIDESTRING GetResponse();
private:
FPDF_WIDESTRING m_swTitle;
FPDF_WIDESTRING m_swQuestion;
FPDF_WIDESTRING m_swDefault;
FPDF_WIDESTRING m_swLabel;
wchar_t* m_swResponse;
FPDF_BOOL m_bIsVisible;
CEdit* m_pResponseEdit;
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CJS_ResponseDlg)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
// Generated message map functions
//{{AFX_MSG(CJS_ResponseDlg)
// NOTE: the ClassWizard will add member functions here
virtual BOOL OnInitDialog();
afx_msg void OnResOk();
afx_msg void OnResCancel();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_JS_RESPONSEDLG_H__AE1575EB_3F0A_46E7_B278_089C74F2B34C__INCLUDED_)
|