home *** CD-ROM | disk | FTP | other *** search
/ Microsoft Programmer's Library 1.3 / Microsoft-Programers-Library-v1.3.iso / sampcode / os2sdk / os2sdk12 / mdi / appdata.c < prev    next >
Encoding:
C/C++ Source or Header  |  1989-10-17  |  780 b   |  35 lines

  1.  
  2. #define INCL_WINSYS
  3. #define INCL_WINCOMMON
  4. #define INCL_WINMESSAGEMGR
  5. #define INCL_WINACCELERATORS
  6. #define INCL_WINMENUS
  7. #define INCL_WINHEAP
  8. #define INCL_WINPOINTERS
  9.  
  10. #include <os2.h>
  11. #include "app.h"
  12. #include "mdi.h"
  13.  
  14. char szMDIClass[] = "PM MDI Sample App";
  15. char szDocClass[] = "PM MDI Document";
  16. USHORT cxBorder, cyBorder, cyHScroll, cxVScroll, cyVScrollArrow;
  17. USHORT cxScreen, cyScreen, cyIcon, cxByteAlign, cyByteAlign;
  18. USHORT cxSizeBorder, cySizeBorder;
  19. ULONG clrNext = CLR_BACKGROUND;
  20. LONG rglDevCaps[(CAPS_VERTICAL_FONT_RES - CAPS_FAMILY)];
  21.  
  22. /* Main globals */
  23. HAB  hab;
  24. HHEAP hHeap;
  25. HMQ  hmqMDI;
  26. HWND hwndMDI, hwndMDIFrame;
  27. HWND hwndActiveDoc;
  28. FONTMETRICS fmSystemFont;
  29. NPDOC npdocFirst = NULL;
  30.  
  31. /* Menu globals */
  32.  
  33.  
  34. HWND hwndSysMenu;
  35.