home *** CD-ROM | disk | FTP | other *** search
/ Programming Languages Suite / ProgLangD.iso / C++-7 / DISK8 / MFC / SAMPLES / MDI / COMMON.H$ / common
Encoding:
Text File  |  1992-03-18  |  848 b   |  31 lines

  1. /* common.h : Defines common constants used in all MDI sample app modules.
  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. // QuickHelp documentation provided with the library.
  10. // See these sources for detailed information regarding the
  11. // Microsoft Foundation Classes product.
  12. //
  13. */
  14.  
  15. #ifndef __COMMON_H_
  16. #define __COMMON_H_
  17.  
  18. /* These are the positions of the "Window" menu for each menu bar. */
  19.  
  20. #define INIT_MENU_POS   0
  21. #define BOUNCE_MENU_POS 3
  22. #define HELLO_MENU_POS  2
  23.  
  24. /* Custom Windows message used to coordinate child window destruction */
  25.  
  26. #define WM_CHILDDESTROY (WM_USER+1)
  27.  
  28. #endif  __COMMON_H_
  29.  
  30.  
  31.