home *** CD-ROM | disk | FTP | other *** search
/ Troubleshooting Netware Systems / CSTRIAL0196.BIN / attach / msj / v10n03 / bocole.exe / HELLO.H < prev    next >
C/C++ Source or Header  |  1995-03-01  |  1KB  |  50 lines

  1. // hello.h : Declares the class interfaces for the Hello child window.
  2. //
  3. // This is a part of the Microsoft Foundation Classes C++ library.
  4. // Copyright (C) 1992 Microsoft Corporation
  5. // All rights reserved.
  6. //
  7. // This source code is only intended as a supplement to the
  8. // Microsoft Foundation Classes Reference and Microsoft
  9. // WinHelp documentation provided with the library.
  10. // See these sources for detailed information regarding the
  11. // Microsoft Foundation Classes product.
  12. //
  13.  
  14. #ifndef __HELLO_H__
  15. #define __HELLO_H__
  16.  
  17. /////////////////////////////////////////////////////////////////////////////
  18.  
  19. // class CHelloWnd
  20.  
  21. class CHelloWnd : public CMDIChildOCF
  22. {
  23. public:
  24.   CHelloWnd();
  25.   BOOL Create(LPCSTR szTitle, LONG style = 0,
  26.         const RECT& rect = rectDefault,
  27.         CMDIFrameWnd* pParent = NULL);
  28.  
  29. // Implementation
  30. protected:
  31.   static CMenu NEAR menu;     // menu for all HELLO windows
  32.  
  33.   UINT m_nIDColor;
  34.   COLORREF m_clrText;
  35.  
  36.   // message handlers
  37.   //{{AFX_MSG(CHelloWnd)
  38.   afx_msg void OnPaint();
  39.   afx_msg void OnColor();
  40.   afx_msg void OnCustomColor();
  41.   afx_msg void OnUpdateColor(CCmdUI* pCmdUI);
  42.   //}}AFX_MSG
  43.  
  44.   DECLARE_MESSAGE_MAP()
  45. };
  46.  
  47. /////////////////////////////////////////////////////////////////////////////
  48.  
  49. #endif // __HELLO_H__
  50.