[10485] | 1 | /* $Id: pmwindow.h,v 1.22 2004-02-27 14:38:03 sandervl Exp $ */
|
---|
[2469] | 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 |
|
---|
[21916] | 11 | #include "win32wbase.h"
|
---|
[5935] | 12 |
|
---|
[9964] | 13 | extern char WIN32_STDCLASS[255];
|
---|
[2469] | 14 |
|
---|
[7403] | 15 | #define TIMERID_DRIVEPOLL 0x1717
|
---|
| 16 |
|
---|
[2469] | 17 | BOOL InitPM();
|
---|
| 18 |
|
---|
| 19 | void RegisterSystemClasses(ULONG hModule);
|
---|
| 20 | void UnregisterSystemClasses();
|
---|
| 21 |
|
---|
[9930] | 22 | PVOID PMWinSubclassFakeWindow(HWND hwndOS2);
|
---|
| 23 |
|
---|
[2469] | 24 | extern ULONG ScreenWidth;
|
---|
| 25 | extern ULONG ScreenHeight;
|
---|
| 26 | extern ULONG ScreenBitsPerPel;
|
---|
[5951] | 27 | extern BOOL fOS2Look;
|
---|
[7943] | 28 | extern BOOL fForceMonoCursor;
|
---|
[7403] | 29 | extern HWND hwndCD;
|
---|
[7691] | 30 | extern LONG CapsCharHeight;
|
---|
[8735] | 31 | extern BOOL fDragDropActive;
|
---|
[2469] | 32 |
|
---|
[9437] | 33 | //Win32 bitmap handles of the OS/2 min, max and restore buttons
|
---|
| 34 | extern HBITMAP hBmpMinButton, hBmpMinButtonDown;
|
---|
| 35 | extern HBITMAP hBmpMaxButton, hBmpMaxButtonDown;
|
---|
| 36 | extern HBITMAP hBmpRestoreButton, hBmpRestoreButtonDown;
|
---|
| 37 | extern HBITMAP hBmpCloseButton, hBmpCloseButtonDown;
|
---|
| 38 |
|
---|
[5935] | 39 | #define TFOS_LEFT 0x0001
|
---|
| 40 | #define TFOS_TOP 0x0002
|
---|
| 41 | #define TFOS_RIGHT 0x0004
|
---|
| 42 | #define TFOS_BOTTOM 0x0008
|
---|
| 43 | /* TF_MOVE = TF_LEFT | TF_TOP | TF_RIGHT | TF_BOTTOM */
|
---|
| 44 | #define TFOS_MOVE 0x000F
|
---|
| 45 |
|
---|
[9437] | 46 | #ifdef __cplusplus
|
---|
[5935] | 47 | VOID FrameTrackFrame(Win32BaseWindow *win32wnd,DWORD flags);
|
---|
[6941] | 48 | void Frame_SysCommandSizeMove(Win32BaseWindow *win32wnd, WPARAM wParam);
|
---|
[10485] | 49 | void RecalcVisibleRegion(Win32BaseWindow *win32wnd);
|
---|
[9437] | 50 | #endif
|
---|
[5935] | 51 |
|
---|
[2469] | 52 | #endif
|
---|