source: trunk/src/user32/pmwindow.h@ 9437

Last change on this file since 9437 was 9437, checked in by sandervl, 23 years ago

CopyBitmap fix + use PM bitmaps for standard user32 frame buttons in OS/2 GUI mode

File size: 1.4 KB
Line 
1/* $Id: pmwindow.h,v 1.18 2002-11-27 13:56:27 sandervl 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
19BOOL InitPM();
20
21void RegisterSystemClasses(ULONG hModule);
22void UnregisterSystemClasses();
23
24extern ULONG ScreenWidth;
25extern ULONG ScreenHeight;
26extern ULONG ScreenBitsPerPel;
27extern BOOL fOS2Look;
28extern BOOL fForceMonoCursor;
29extern HWND hwndCD;
30extern LONG CapsCharHeight;
31extern BOOL fDragDropActive;
32
33//Win32 bitmap handles of the OS/2 min, max and restore buttons
34extern HBITMAP hBmpMinButton, hBmpMinButtonDown;
35extern HBITMAP hBmpMaxButton, hBmpMaxButtonDown;
36extern HBITMAP hBmpRestoreButton, hBmpRestoreButtonDown;
37extern HBITMAP hBmpCloseButton, hBmpCloseButtonDown;
38
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
46#ifdef __cplusplus
47VOID FrameTrackFrame(Win32BaseWindow *win32wnd,DWORD flags);
48void Frame_SysCommandSizeMove(Win32BaseWindow *win32wnd, WPARAM wParam);
49#endif
50
51#endif
Note: See TracBrowser for help on using the repository browser.