Leaked source code of windows server 2003
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.

106 lines
2.7 KiB

  1. /******************************************************************************
  2. Header File: Child Frame.H
  3. This defines the CChildFrame class, which is the MFC CMDIChild with some
  4. minor wrapping around it.
  5. Copyright (c) 1997 by Microsoft Corporation. All Rights Reserved.
  6. A Pretty Penny Enterprises Production.
  7. Change History:
  8. 02-03-1997 Bob_Kjelgaard@Prodigy.Net
  9. ******************************************************************************/
  10. // Child Frame.h : interface of the CChildFrame class
  11. //
  12. /////////////////////////////////////////////////////////////////////////////
  13. #if !defined(CHILD_FRAME_CLASS)
  14. #define CHILD_FRAME_CLASS
  15. class CChildFrame : public CMDIChildWnd {
  16. DECLARE_DYNCREATE(CChildFrame)
  17. public:
  18. CChildFrame();
  19. // Attributes
  20. public:
  21. // Operations
  22. public:
  23. // Overrides
  24. // ClassWizard generated virtual function overrides
  25. //{{AFX_VIRTUAL(CChildFrame)
  26. public:
  27. virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
  28. //}}AFX_VIRTUAL
  29. // Implementation
  30. public:
  31. virtual ~CChildFrame();
  32. #ifdef _DEBUG
  33. virtual void AssertValid() const;
  34. virtual void Dump(CDumpContext& dc) const;
  35. #endif
  36. // Generated message map functions
  37. protected:
  38. //{{AFX_MSG(CChildFrame)
  39. // NOTE - the ClassWizard will add and remove member functions here.
  40. // DO NOT EDIT what you see in these blocks of generated code!
  41. //}}AFX_MSG
  42. DECLARE_MESSAGE_MAP()
  43. };
  44. /******************************************************************************
  45. CToolTipPage class
  46. This class implements a page that displays tool tips for its controls using
  47. strings from the string table matching the control IDs. Derive from this
  48. class, and everything else works just as it ought to!
  49. ******************************************************************************/
  50. class CToolTipPage : public CPropertyPage {
  51. CString m_csTip; // Can't use auto variables or you lose them!
  52. // Construction
  53. public:
  54. CToolTipPage(int id);
  55. ~CToolTipPage();
  56. // Dialog Data
  57. //{{AFX_DATA(CToolTipPage)
  58. enum { IDD = IDD_TIP };
  59. // NOTE - ClassWizard will add data members here.
  60. // DO NOT EDIT what you see in these blocks of generated code !
  61. //}}AFX_DATA
  62. // Overrides
  63. // ClassWizard generate virtual function overrides
  64. //{{AFX_VIRTUAL(CToolTipPage)
  65. public:
  66. virtual BOOL PreTranslateMessage(MSG* pMsg);
  67. protected:
  68. virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
  69. //}}AFX_VIRTUAL
  70. // Implementation
  71. protected:
  72. afx_msg void OnNeedText(LPNMHDR pnmh, LRESULT *plr);
  73. // Generated message map functions
  74. //{{AFX_MSG(CToolTipPage)
  75. virtual BOOL OnInitDialog();
  76. //}}AFX_MSG
  77. DECLARE_MESSAGE_MAP()
  78. unsigned m_uHelpID ; // Help ID if nonzero
  79. };
  80. #endif