Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

35 lines
976 B

  1. //+---------------------------------------------------------------------------
  2. //
  3. // Microsoft Windows
  4. // Copyright (C) Microsoft Corporation 1996-2001.
  5. //
  6. // File: helpdlg.h
  7. //
  8. // Contents: definition of CHelpDialog
  9. //
  10. //----------------------------------------------------------------------------
  11. #if !defined(AFX_HELPDLG_H__CC37D278_ED8E_11D0_9C6E_00C04FB6C6FA__INCLUDED_)
  12. #define AFX_HELPDLG_H__CC37D278_ED8E_11D0_9C6E_00C04FB6C6FA__INCLUDED_
  13. #if _MSC_VER >= 1000
  14. #pragma once
  15. #endif // _MSC_VER >= 1000
  16. class CHelpDialog : public CDialog
  17. {
  18. public:
  19. CHelpDialog(const DWORD* pHelpIDs, UINT nIDTemplate, CWnd* pParentWnd)
  20. : m_pHelpIDs(pHelpIDs), CDialog(nIDTemplate, pParentWnd)
  21. {
  22. }
  23. protected:
  24. afx_msg BOOL OnHelp(WPARAM wParam, LPARAM lParam);
  25. DECLARE_MESSAGE_MAP()
  26. private:
  27. const DWORD* m_pHelpIDs;
  28. };
  29. #endif // !defined(AFX_HELPDLG_H__CC37D278_ED8E_11D0_9C6E_00C04FB6C6FA__INCLUDED_)