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

Last change on this file since 9964 was 9964, checked in by sandervl, 22 years ago

PF: Functions for setting custom frame/cd/window class names

File size: 1.4 KB
Line 
1/* $Id: pmwindow.h,v 1.20 2003-04-01 09:58:38 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
13extern char WIN32_CDCLASS[255];
14extern char WIN32_STDCLASS[255];
15extern char WIN32_STDFRAMECLASS[255];
16
17#define TIMERID_DRIVEPOLL 0x1717
18
19BOOL InitPM();
20
21void RegisterSystemClasses(ULONG hModule);
22void UnregisterSystemClasses();
23
24PVOID PMWinSubclassFakeWindow(HWND hwndOS2);
25
26extern ULONG ScreenWidth;
27extern ULONG ScreenHeight;
28extern ULONG ScreenBitsPerPel;
29extern BOOL fOS2Look;
30extern BOOL fForceMonoCursor;
31extern HWND hwndCD;
32extern LONG CapsCharHeight;
33extern BOOL fDragDropActive;
34
35//Win32 bitmap handles of the OS/2 min, max and restore buttons
36extern HBITMAP hBmpMinButton, hBmpMinButtonDown;
37extern HBITMAP hBmpMaxButton, hBmpMaxButtonDown;
38extern HBITMAP hBmpRestoreButton, hBmpRestoreButtonDown;
39extern HBITMAP hBmpCloseButton, hBmpCloseButtonDown;
40
41#define TFOS_LEFT 0x0001
42#define TFOS_TOP 0x0002
43#define TFOS_RIGHT 0x0004
44#define TFOS_BOTTOM 0x0008
45/* TF_MOVE = TF_LEFT | TF_TOP | TF_RIGHT | TF_BOTTOM */
46#define TFOS_MOVE 0x000F
47
48#ifdef __cplusplus
49VOID FrameTrackFrame(Win32BaseWindow *win32wnd,DWORD flags);
50void Frame_SysCommandSizeMove(Win32BaseWindow *win32wnd, WPARAM wParam);
51#endif
52
53#endif
Note: See TracBrowser for help on using the repository browser.