home *** CD-ROM | disk | FTP | other *** search
/ DP Tool Club 15 / CD_ASCQ_15_070894.iso / vrac / memsz231.zip / WINDOW.H < prev   
C/C++ Source or Header  |  1994-01-19  |  563b  |  37 lines

  1. // Class WINDOW: Encapsulates the startup/shutdown logic for a OS/2-PM window.
  2.  
  3. #define INCL_BASE
  4. #define INCL_PM
  5. #include <os2.h>
  6.  
  7. class Window
  8. {
  9.   private:
  10.     HWND Handle ;
  11.  
  12.   public:
  13.     Window
  14.     (
  15.       HWND Parent,
  16.       PSZ ClassName,
  17.       PSZ Title,
  18.       ULONG Style,
  19.       LONG x,
  20.       LONG y,
  21.       LONG cx,
  22.       LONG cy,
  23.       HWND Owner,
  24.       HWND Zorder,
  25.       ULONG Id,
  26.       PVOID Parms,
  27.       PVOID PresParams
  28.     ) ;
  29.  
  30.     ~Window ( ) ;
  31.  
  32.     HWND QueryHandle ()
  33.     {
  34.       return ( Handle ) ;
  35.     }
  36. } ;
  37.