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.

100 lines
2.1 KiB

  1. //
  2. // Application Verifier UI
  3. // Copyright (c) Microsoft Corporation, 2001
  4. //
  5. //
  6. //
  7. // module: ChooseExe.h
  8. // author: CLupu
  9. // created: 04/13/2001
  10. //
  11. // Description:
  12. //
  13. // "Choose an executable to run" wizard page class.
  14. //
  15. #if !defined(AFX_CHOOSEEXE_H_INCLUDED_)
  16. #define AFX_CHOOSEEXE_H_INCLUDED_
  17. #if _MSC_VER > 1000
  18. #pragma once
  19. #endif // _MSC_VER > 1000
  20. #include "AVPage.h"
  21. extern DWORD g_dwRegFlags;
  22. extern TCHAR g_szAppFullPath[];
  23. extern TCHAR g_szAppShortName[];
  24. extern TCHAR g_szCrashDumpFile[];
  25. extern BOOL g_bDebuggeeExited;
  26. extern BOOL g_bStandardSettings;
  27. /////////////////////////////////////////////////////////////////////////////
  28. // CChooseExePage dialog
  29. class CChooseExePage : public CAppverifPage
  30. {
  31. DECLARE_DYNCREATE(CChooseExePage)
  32. // Construction
  33. public:
  34. CChooseExePage();
  35. ~CChooseExePage();
  36. protected:
  37. //
  38. // Overrides
  39. //
  40. //
  41. // All the property pages derived from this class should
  42. // provide this method.
  43. //
  44. virtual ULONG GetDialogId() const;
  45. //
  46. // ClassWizard generate virtual function overrides
  47. //
  48. //{{AFX_VIRTUAL(CChooseExePage)
  49. public:
  50. virtual BOOL OnSetActive();
  51. virtual LRESULT OnWizardNext();
  52. protected:
  53. virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
  54. //}}AFX_VIRTUAL
  55. protected:
  56. // Dialog Data
  57. //{{AFX_DATA(CChooseExePage)
  58. enum { IDD = IDD_CHOOSEEXE_PAGE };
  59. CEdit m_ExeName;
  60. int m_nIndSettings;
  61. CStatic m_NextDescription;
  62. //}}AFX_DATA
  63. protected:
  64. //
  65. // Generated message map functions
  66. //
  67. //{{AFX_MSG(CChooseExePage)
  68. virtual BOOL OnInitDialog();
  69. afx_msg LONG OnHelp( WPARAM wParam, LPARAM lParam );
  70. afx_msg void OnContextMenu(CWnd* pWnd, CPoint point);
  71. afx_msg void OnChooseExe();
  72. afx_msg void OnChangeExeName();
  73. afx_msg void OnUpdateNextDescription();
  74. //}}AFX_MSG
  75. DECLARE_MESSAGE_MAP()
  76. };
  77. //{{AFX_INSERT_LOCATION}}
  78. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  79. #endif // !defined(AFX_CHOOSEEXE_H_INCLUDED_)