| Last change
 on this file since 7801 was             7691, checked in by achimha, 24 years ago | 
        
          | 
read system font height from graphics driver instead of hardcoding - only enabled for menus
 | 
        
          | File size:
            1.1 KB | 
      
      
| Line |  | 
|---|
| 1 | /* $Id: pmwindow.h,v 1.15 2001-12-26 19:05:35 achimha Exp $ */ | 
|---|
| 2 | /* | 
|---|
| 3 | * Win32 Window Managment Code for OS/2 | 
|---|
| 4 | * | 
|---|
| 5 | * Copyright 1998-1999 Sander van Leeuwen (sandervl@xs4all.nl) | 
|---|
| 6 | * | 
|---|
| 7 | */ | 
|---|
| 8 | #ifndef __PMWINDOW_H__ | 
|---|
| 9 | #define __PMWINDOW_H__ | 
|---|
| 10 |  | 
|---|
| 11 | #include <win32wbase.h> | 
|---|
| 12 |  | 
|---|
| 13 | #define WIN32_CDCLASS       "Win32CDWindowClass" | 
|---|
| 14 | #define WIN32_STDCLASS      "Win32WindowClass" | 
|---|
| 15 | #define WIN32_STDFRAMECLASS "Win32FrameClass" | 
|---|
| 16 |  | 
|---|
| 17 | #define TIMERID_DRIVEPOLL       0x1717 | 
|---|
| 18 |  | 
|---|
| 19 | BOOL InitPM(); | 
|---|
| 20 |  | 
|---|
| 21 | void RegisterSystemClasses(ULONG hModule); | 
|---|
| 22 | void UnregisterSystemClasses(); | 
|---|
| 23 |  | 
|---|
| 24 | extern ULONG ScreenWidth; | 
|---|
| 25 | extern ULONG ScreenHeight; | 
|---|
| 26 | extern ULONG ScreenBitsPerPel; | 
|---|
| 27 | extern BOOL  fOS2Look; | 
|---|
| 28 | extern HWND  hwndCD; | 
|---|
| 29 | extern LONG CapsCharHeight; | 
|---|
| 30 |  | 
|---|
| 31 | #define TFOS_LEFT                    0x0001 | 
|---|
| 32 | #define TFOS_TOP                     0x0002 | 
|---|
| 33 | #define TFOS_RIGHT                   0x0004 | 
|---|
| 34 | #define TFOS_BOTTOM                  0x0008 | 
|---|
| 35 | /* TF_MOVE = TF_LEFT | TF_TOP | TF_RIGHT | TF_BOTTOM */ | 
|---|
| 36 | #define TFOS_MOVE                    0x000F | 
|---|
| 37 |  | 
|---|
| 38 | VOID FrameTrackFrame(Win32BaseWindow *win32wnd,DWORD flags); | 
|---|
| 39 | void Frame_SysCommandSizeMove(Win32BaseWindow *win32wnd, WPARAM wParam); | 
|---|
| 40 |  | 
|---|
| 41 | #endif | 
|---|
       
      
  Note:
 See   
TracBrowser
 for help on using the repository browser.