| Line |  | 
|---|
| 1 | /* $Id: win32wdesktop.h,v 1.4 1999-10-20 13:46:29 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 |  | 
|---|
| 27 | protected: | 
|---|
| 28 | private: | 
|---|
| 29 | }; | 
|---|
| 30 |  | 
|---|
| 31 | /* Built-in class names (see _Undocumented_Windows_ p.418) */ | 
|---|
| 32 | #define DESKTOP_CLASS_NAMEA    "#32769"  /* Desktop */ | 
|---|
| 33 | #define DESKTOP_CLASS_NAMEW   L"#32769"  /* Desktop */ | 
|---|
| 34 | #undef DESKTOP_CLASS_ATOM | 
|---|
| 35 | #define DESKTOP_CLASS_ATOM       32769   /* Desktop */ | 
|---|
| 36 |  | 
|---|
| 37 | extern Win32Desktop *windowDesktop; | 
|---|
| 38 | #endif //__cplusplus | 
|---|
| 39 |  | 
|---|
| 40 | BOOL CreateWin32Desktop(); | 
|---|
| 41 | void DestroyDesktopWindow(); | 
|---|
| 42 | BOOL DESKTOP_Register(); | 
|---|
| 43 | BOOL DESKTOP_Unregister(); | 
|---|
| 44 |  | 
|---|
| 45 | #endif //__WIN32WDESKTOP_H__ | 
|---|
       
      
  Note:
 See   
TracBrowser
 for help on using the repository browser.