|
Last change
on this file since 10080 was 10031, checked in by sandervl, 23 years ago |
|
KSO: Properties allocated from shared memory & Fake window updates & SW_SHOWDEFAULT update
|
|
File size:
848 bytes
|
| Line | |
|---|
| 1 | /* $Id: win32wfake.h,v 1.3 2003-04-23 18:01:01 sandervl Exp $ */
|
|---|
| 2 | /*
|
|---|
| 3 | * Win32 Fake Window Class for OS/2
|
|---|
| 4 | *
|
|---|
| 5 | *
|
|---|
| 6 | * Copyright 2002 Sander van Leeuwen (sandervl@innotek.de)
|
|---|
| 7 | *
|
|---|
| 8 | *
|
|---|
| 9 | * Project Odin Software License can be found in LICENSE.TXT
|
|---|
| 10 | *
|
|---|
| 11 | */
|
|---|
| 12 | #ifndef __WIN32WFAKE_H__
|
|---|
| 13 | #define __WIN32WFAKE_H__
|
|---|
| 14 |
|
|---|
| 15 | #include <win32wbase.h>
|
|---|
| 16 |
|
|---|
| 17 | class Win32FakeWindow : public Win32BaseWindow
|
|---|
| 18 | {
|
|---|
| 19 | public:
|
|---|
| 20 | Win32FakeWindow(HWND hwndOS2, ATOM classAtom);
|
|---|
| 21 | virtual ~Win32FakeWindow();
|
|---|
| 22 |
|
|---|
| 23 | virtual BOOL SetWindowPos(HWND hwndInsertAfter, int x, int y, int cx, int cy, UINT fuFlags, BOOL fShowWindow = FALSE);
|
|---|
| 24 | virtual PRECT getWindowRect();
|
|---|
| 25 |
|
|---|
| 26 | virtual BOOL isFakeWindow();
|
|---|
| 27 |
|
|---|
| 28 | static Win32FakeWindow *GetWindowFromOS2Handle(HWND hwnd);
|
|---|
| 29 | static void init();
|
|---|
| 30 | static char szPropOdinHandle[64];
|
|---|
| 31 | static BOOL fInited;
|
|---|
| 32 |
|
|---|
| 33 | protected:
|
|---|
| 34 | private:
|
|---|
| 35 | };
|
|---|
| 36 |
|
|---|
| 37 |
|
|---|
| 38 | #endif //__WIN32WFAKE_H__
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.