| Line | |
|---|
| 1 | /* $Id: win32wdesktop.h,v 1.9 2004-01-11 12:03:21 sandervl Exp $ */
|
|---|
| 2 | /*
|
|---|
| 3 | * Win32 Desktop Window for OS/2
|
|---|
| 4 | *
|
|---|
| 5 | *
|
|---|
| 6 | * Copyright 1999 Sander van Leeuwen (sandervl@xs4all.nl)
|
|---|
| 7 | *
|
|---|
| 8 | *
|
|---|
| 9 | * Project Odin Software License can be found in LICENSE.TXT
|
|---|
| 10 | *
|
|---|
| 11 | */
|
|---|
| 12 | #ifndef __WIN32WDESKTOP_H__
|
|---|
| 13 | #define __WIN32WDESKTOP_H__
|
|---|
| 14 |
|
|---|
| 15 | #if defined(__cplusplus)
|
|---|
| 16 |
|
|---|
| 17 | #include <win32wbase.h>
|
|---|
| 18 |
|
|---|
| 19 | class Win32Desktop : public Win32BaseWindow
|
|---|
| 20 | {
|
|---|
| 21 | public:
|
|---|
| 22 | Win32Desktop();
|
|---|
| 23 | virtual ~Win32Desktop();
|
|---|
| 24 |
|
|---|
| 25 | virtual BOOL EnableWindow(BOOL fEnable);
|
|---|
| 26 | virtual BOOL DestroyWindow();
|
|---|
| 27 | virtual BOOL isDesktopWindow();
|
|---|
| 28 | virtual HWND GetWindow(UINT uCmd);
|
|---|
| 29 |
|
|---|
| 30 | protected:
|
|---|
| 31 | private:
|
|---|
| 32 | };
|
|---|
| 33 |
|
|---|
| 34 | /* Built-in class names (see _Undocumented_Windows_ p.418) */
|
|---|
| 35 | #define DESKTOP_CLASS_NAMEA "#32769" /* Desktop */
|
|---|
| 36 | #define DESKTOP_CLASS_NAMEW L"#32769" /* Desktop */
|
|---|
| 37 | #undef DESKTOP_CLASS_ATOM
|
|---|
| 38 | #define DESKTOP_CLASS_ATOM 32769 /* Desktop */
|
|---|
| 39 |
|
|---|
| 40 | extern Win32Desktop *windowDesktop;
|
|---|
| 41 | #endif //__cplusplus
|
|---|
| 42 |
|
|---|
| 43 | BOOL CreateWin32Desktop();
|
|---|
| 44 | void DestroyDesktopWindow();
|
|---|
| 45 | BOOL DESKTOP_Register();
|
|---|
| 46 | BOOL DESKTOP_Unregister();
|
|---|
| 47 |
|
|---|
| 48 | #endif //__WIN32WDESKTOP_H__
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.