-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathTipDialog.h
45 lines (36 loc) · 1.01 KB
/
TipDialog.h
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
// CG: This file added by 'Tip of the Day' component.
/////////////////////////////////////////////////////////////////////////////
// CTipDialog dialog
class CTipDialog : public CDialog
{
// Construction
public:
CTipDialog(CWnd* pParent = NULL); // standard constructor
// Dialog Data
//{{AFX_DATA(CTipDialog)
// enum { IDD = IDD_TIP };
BOOL m_bStartup;
CString m_strTip;
//}}AFX_DATA
FILE* m_pStream;
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CTipDialog)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
public:
virtual ~CTipDialog();
protected:
// Generated message map functions
//{{AFX_MSG(CTipDialog)
afx_msg void OnNextTip();
afx_msg HBRUSH OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor);
virtual void OnOK();
virtual BOOL OnInitDialog();
afx_msg void OnPaint();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
void GetNextTipString(CString& strNext);
};