1 #if !defined(AFX_JS_RESPONSEDLG_H__AE1575EB_3F0A_46E7_B278_089C74F2B34C__INCLUDED_)
\r
2 #define AFX_JS_RESPONSEDLG_H__AE1575EB_3F0A_46E7_B278_089C74F2B34C__INCLUDED_
\r
6 #endif // _MSC_VER > 1000
\r
7 // JS_ResponseDlg.h : header file
\r
10 /////////////////////////////////////////////////////////////////////////////
\r
11 // CJS_ResponseDlg dialog
\r
13 class CJS_ResponseDlg : public CDialog
\r
17 CJS_ResponseDlg(CWnd* pParent = NULL); // standard constructor
\r
18 ~CJS_ResponseDlg(){ if(m_swResponse) free(m_swResponse); }
\r
21 //{{AFX_DATA(CJS_ResponseDlg)
\r
22 enum { IDD = IDD_DLG_RESPONSE };
\r
23 // NOTE: the ClassWizard will add data members here
\r
26 void SetTitle(FPDF_WIDESTRING swTitle);
\r
27 void SetQuestion(FPDF_WIDESTRING swQuestion);
\r
28 void SetDefault(FPDF_WIDESTRING swDefault);
\r
29 void SetLabel(FPDF_WIDESTRING swLabel);
\r
30 void SetIsVisible(FPDF_BOOL bPassword);
\r
31 FPDF_WIDESTRING GetResponse();
\r
34 FPDF_WIDESTRING m_swTitle;
\r
35 FPDF_WIDESTRING m_swQuestion;
\r
36 FPDF_WIDESTRING m_swDefault;
\r
37 FPDF_WIDESTRING m_swLabel;
\r
38 wchar_t* m_swResponse;
\r
39 FPDF_BOOL m_bIsVisible;
\r
40 CEdit* m_pResponseEdit;
\r
42 // ClassWizard generated virtual function overrides
\r
43 //{{AFX_VIRTUAL(CJS_ResponseDlg)
\r
45 virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
\r
51 // Generated message map functions
\r
52 //{{AFX_MSG(CJS_ResponseDlg)
\r
53 // NOTE: the ClassWizard will add member functions here
\r
54 virtual BOOL OnInitDialog();
\r
55 afx_msg void OnResOk();
\r
56 afx_msg void OnResCancel();
\r
58 DECLARE_MESSAGE_MAP()
\r
61 //{{AFX_INSERT_LOCATION}}
\r
62 // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
\r
64 #endif // !defined(AFX_JS_RESPONSEDLG_H__AE1575EB_3F0A_46E7_B278_089C74F2B34C__INCLUDED_)
\r