home *** CD-ROM | disk | FTP | other *** search
/ Microsoft Programmer's Library 1.3 / Microsoft-Programers-Library-v1.3.iso / sampcode / os2sdk / os2sdk11 / tk4 / mdi / appdata.c < prev    next >
Encoding:
C/C++ Source or Header  |  1989-02-20  |  825 b   |  34 lines

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