|
|
1.1 ! root 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:
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.