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
|
#if !defined(AFX_DONEPAGE_H__266E17F7_F416_11D2_A599_0020182B97FC__INCLUDED_)
#define AFX_DONEPAGE_H__266E17F7_F416_11D2_A599_0020182B97FC__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// DonePage.h : header file
//
#include "resource.h"
#include <atlprsht.h>
#include <contexthelp.h>
/////////////////////////////////////////////////////////////////////////////
// CDonePage dialog
class CDonePage
: public CPropertyPage,
public CContextHelp<CDonePage>
{
// Construction
public:
CDonePage(CPropertySheet* pParent, UINT nPos = WIZPAGE_MIDDLE);
~CDonePage();
// Dialog Data
enum { IDD = IDD_LASTPAGE };
BEGIN_MSG_MAP(CDonePage)
MESSAGE_HANDLER(WM_INITDIALOG, OnInitDialog)
NOTIFY_CODE_HANDLER(PSN_SETACTIVE, OnSetActive)
COMMAND_HANDLER(IDC_SHUTDOWN, BN_CLICKED, OnShutdown)
CHAIN_MSG_MAP(CContextHelp<CDonePage>)
NOTIFY_CODE_HANDLER(PSN_HELP, OnHelp)
END_MSG_MAP()
BEGIN_HELP_MAP(NS_HELP_FILE)
HELP_ID(IDC_SHUTDOWN, 3003)
END_HELP_MAP
// Messages
public:
LRESULT OnInitDialog(UINT uMsg, WPARAM wParam, LPARAM lParam, BOOL& bHandled);
LRESULT OnShutdown(WORD wNotifyCode, WORD wID, HWND hWndCtl, BOOL& bHandled);
LRESULT OnSetActive(int idCtrl, LPNMHDR pnmh, BOOL& bHandled);
LRESULT OnHelp(int idCtrl, LPNMHDR pnmh, BOOL& bHandled);
// Implementation
protected:
CPropertySheet* m_pParentSheet;
const UINT m_nPos;
};
#endif // !defined(AFX_DONEPAGE_H__266E17F7_F416_11D2_A599_0020182B97FC__INCLUDED_)
|