| Last change
 on this file since 7159 was             5935, checked in by sandervl, 24 years ago | 
        
          | 
reference count (window + class objects) rewrite
 | 
        
          | File size:
            1.0 KB | 
      
      
| Line |  | 
|---|
| 1 | /* $Id: win32wdesktop.h,v 1.8 2001-06-09 14:50:22 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 |  | 
|---|
| 29 | protected: | 
|---|
| 30 | private: | 
|---|
| 31 | }; | 
|---|
| 32 |  | 
|---|
| 33 | /* Built-in class names (see _Undocumented_Windows_ p.418) */ | 
|---|
| 34 | #define DESKTOP_CLASS_NAMEA    "#32769"  /* Desktop */ | 
|---|
| 35 | #define DESKTOP_CLASS_NAMEW   L"#32769"  /* Desktop */ | 
|---|
| 36 | #undef DESKTOP_CLASS_ATOM | 
|---|
| 37 | #define DESKTOP_CLASS_ATOM       32769   /* Desktop */ | 
|---|
| 38 |  | 
|---|
| 39 | extern Win32Desktop *windowDesktop; | 
|---|
| 40 | #endif //__cplusplus | 
|---|
| 41 |  | 
|---|
| 42 | BOOL CreateWin32Desktop(); | 
|---|
| 43 | void DestroyDesktopWindow(); | 
|---|
| 44 | BOOL DESKTOP_Register(); | 
|---|
| 45 | BOOL DESKTOP_Unregister(); | 
|---|
| 46 |  | 
|---|
| 47 | #endif //__WIN32WDESKTOP_H__ | 
|---|
       
      
  Note:
 See   
TracBrowser
 for help on using the repository browser.