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.

90 lines
2.2 KiB

  1. #if !defined(AFX_NCMETRICSDLG_H__6A31D6FE_9073_49E5_A7DC_D4713679CB84__INCLUDED_)
  2. #define AFX_NCMETRICSDLG_H__6A31D6FE_9073_49E5_A7DC_D4713679CB84__INCLUDED_
  3. #if _MSC_VER > 1000
  4. #pragma once
  5. #endif // _MSC_VER > 1000
  6. // NCMetricsDlg.h : header file
  7. //
  8. /////////////////////////////////////////////////////////////////////////////
  9. // CNCMetricsDlg dialog
  10. class CNCMetricsDlg : public CDialog
  11. {
  12. // Construction
  13. public:
  14. CNCMetricsDlg(CWnd* pParent = NULL); // standard constructor
  15. // Dialog Data
  16. //{{AFX_DATA(CNCMetricsDlg)
  17. enum { IDD = IDD_CHANGEMETRICS };
  18. // NOTE: the ClassWizard will add data members here
  19. //}}AFX_DATA
  20. // Overrides
  21. // ClassWizard generated virtual function overrides
  22. //{{AFX_VIRTUAL(CNCMetricsDlg)
  23. protected:
  24. virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
  25. //}}AFX_VIRTUAL
  26. // Implementation
  27. protected:
  28. void _GetSPI( BOOL, BOOL );
  29. void _SetSPI( BOOL, BOOL );
  30. void _UpdateControls();
  31. // Generated message map functions
  32. //{{AFX_MSG(CNCMetricsDlg)
  33. virtual BOOL OnInitDialog();
  34. afx_msg void OnChanged();
  35. afx_msg void OnCaptionfont();
  36. afx_msg void OnSmallCaptionFont();
  37. afx_msg void OnApply();
  38. afx_msg void OnOk();
  39. //}}AFX_MSG
  40. DECLARE_MESSAGE_MAP()
  41. BOOL _fChanged;
  42. BOOL _fDlgInit;
  43. NONCLIENTMETRICS _ncm;
  44. };
  45. /////////////////////////////////////////////////////////////////////////////
  46. // CThinFrameDlg dialog
  47. class CThinFrameDlg : public CDialog
  48. {
  49. // Construction
  50. public:
  51. CThinFrameDlg(CWnd* pParent = NULL); // standard constructor
  52. // Dialog Data
  53. //{{AFX_DATA(CThinFrameDlg)
  54. enum { IDD = IDD_THINFRAME };
  55. // NOTE: the ClassWizard will add data members here
  56. //}}AFX_DATA
  57. // Overrides
  58. // ClassWizard generated virtual function overrides
  59. //{{AFX_VIRTUAL(CThinFrameDlg)
  60. protected:
  61. virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
  62. //}}AFX_VIRTUAL
  63. // Implementation
  64. protected:
  65. // Generated message map functions
  66. //{{AFX_MSG(CThinFrameDlg)
  67. // NOTE: the ClassWizard will add member functions here
  68. //}}AFX_MSG
  69. DECLARE_MESSAGE_MAP()
  70. };
  71. //{{AFX_INSERT_LOCATION}}
  72. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  73. #endif // !defined(AFX_NCMETRICSDLG_H__6A31D6FE_9073_49E5_A7DC_D4713679CB84__INCLUDED_)