home *** CD-ROM | disk | FTP | other *** search
/ Stars of Shareware: Programmierung / SOURCE.mdf / programm / windows / c / mobjm260 / swindow.h_ / swindow.h
Encoding:
C/C++ Source or Header  |  1994-09-06  |  868 b   |  38 lines

  1. //    Microworks ObjectMate  2.6
  2. //
  3. //  "SFX Class Library"
  4. //
  5. //    An ObjectWindows 2.0 extension for Borland C++ 4.0
  6. //
  7. //    Copyright 1992-94 Microworks Sydney, Australia.
  8. //
  9. //  SWINDOW.H
  10.  
  11. #if !defined(__SFX_SWINDOW_H)
  12. #define __SFX_SWINDOW_H
  13.  
  14. #if !defined(__OWL_WINDOW_H)
  15.   #include <owl\window.h>
  16. #endif
  17.  
  18. //  class TSFXWindow
  19.  
  20. class _OWLCLASS TSFXWindow : virtual public TWindow
  21. {
  22.   public:
  23.     TSFXWindow(TWindow*        parent,
  24.                const char far* title = 0,
  25.                TModule*        module = 0);
  26.  
  27.   protected:
  28.     virtual void      GetWindowClass(WNDCLASS& wndClass);
  29.  
  30.     //    call SFXDefWindowProc() instead of DefWindowProc()
  31.     LRESULT           DefWindowProc(UINT message, WPARAM wParam, LPARAM lParam);
  32.  
  33.   DECLARE_RESPONSE_TABLE(TSFXWindow);
  34.   DECLARE_STREAMABLE_FROM_BASE(_OWLCLASS, TSFXWindow, TWindow);
  35. };
  36.  
  37. #endif  // __SFX_SWINDOW_H
  38.