CMakeDialog.h 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  1. // CMakeSetupDialogDlg.h : header file
  2. //
  3. #if !defined(AFX_CMakeSetupDialogDLG_H__AC17A6F6_4634_11D4_8F21_00A0CC33FCD3__INCLUDED_)
  4. #define AFX_CMakeSetupDialogDLG_H__AC17A6F6_4634_11D4_8F21_00A0CC33FCD3__INCLUDED_
  5. #if _MSC_VER > 1000
  6. #pragma once
  7. #endif // _MSC_VER > 1000
  8. /////////////////////////////////////////////////////////////////////////////
  9. // CMakeSetupDialog dialog
  10. class CMakeSetupDialog : public CDialog
  11. {
  12. // Construction
  13. public:
  14. CMakeSetupDialog(CWnd* pParent = NULL); // standard constructor
  15. protected:
  16. bool Browse(CString&, const char* title);
  17. void SaveToRegistry();
  18. void LoadFromRegistry();
  19. void ReadRegistryValue(HKEY hKey,
  20. CString *val,
  21. char *key,
  22. char *adefault);
  23. // Dialog Data
  24. //{{AFX_DATA(CMakeSetupDialog)
  25. enum { IDD = IDD_CMakeSetupDialog_DIALOG };
  26. CButton m_CancelButton;
  27. CStatic m_MouseHelp;
  28. CStatic m_VersionDisplay;
  29. CButton m_BuildProjects;
  30. CButton m_ListFrame;
  31. CComboBox m_WhereSourceControl;
  32. CComboBox m_WhereBuildControl;
  33. CListBox m_CacheEntriesList;
  34. CString m_WhereITK;
  35. CString m_WhereBuildITK;
  36. CString m_WhereBuild;
  37. CString m_WhereSource;
  38. //}}AFX_DATA
  39. // ClassWizard generated virtual function overrides
  40. //{{AFX_VIRTUAL(CMakeSetupDialog)
  41. protected:
  42. virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
  43. //}}AFX_VIRTUAL
  44. // Implementation
  45. protected:
  46. HICON m_hIcon;
  47. // Generated message map functions
  48. //{{AFX_MSG(CMakeSetupDialog)
  49. virtual BOOL OnInitDialog();
  50. afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
  51. afx_msg void OnPaint();
  52. afx_msg HCURSOR OnQueryDragIcon();
  53. virtual void OnOK();
  54. afx_msg void OnBuildProjects();
  55. afx_msg void OnChangeWhereBuild();
  56. afx_msg void OnChangeWhereSource();
  57. afx_msg void OnSelendokWhereBuild();
  58. afx_msg void OnSize(UINT nType, int cx, int cy);
  59. //}}AFX_MSG
  60. DECLARE_MESSAGE_MAP()
  61. };
  62. //{{AFX_INSERT_LOCATION}}
  63. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  64. #endif // !defined(AFX_CMakeSetupDialogDLG_H__AC17A6F6_4634_11D4_8F21_00A0CC33FCD3__INCLUDED_)