|
Last change
on this file since 9969 was 9941, checked in by sandervl, 23 years ago |
|
Don't change focus when processing mouse button message if the top parent is a fake window
|
|
File size:
701 bytes
|
| Line | |
|---|
| 1 | /* $Id: win32wfake.h,v 1.2 2003-03-27 10:42:42 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 | protected:
|
|---|
| 29 | private:
|
|---|
| 30 | };
|
|---|
| 31 |
|
|---|
| 32 |
|
|---|
| 33 | #endif //__WIN32WFAKE_H__
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.