home *** CD-ROM | disk | FTP | other *** search
/ Stars of Shareware: Programmierung / SOURCE.mdf / programm / windows / c / mobjm260 / sframe.h_ / sframe.h
Encoding:
C/C++ Source or Header  |  1994-09-06  |  1.0 KB  |  42 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. //  SFRAME.H
  10.  
  11. #if !defined(__SFX_SFRAME_H)
  12. #define __SFX_SFRAME_H
  13.  
  14. #if !defined(__OWL_FRAMEWIN_H)
  15.   #include <owl\framewin.h>
  16. #endif
  17.  
  18. //  class TSFXFrameWindow
  19.  
  20. class _OWLCLASS TSFXFrameWindow : virtual public TFrameWindow
  21. {
  22.   public:
  23.     TSFXFrameWindow(TWindow*        parent,
  24.                     const char far* title = 0,
  25.                     TWindow*        clientWnd = 0,
  26.                     BOOL            sfxFrame = FALSE,
  27.                     BOOL            sfxCaption = FALSE,
  28.                     BOOL            shrinkToClient = FALSE,
  29.                     TModule*        module = 0);
  30.  
  31.   protected:
  32.     void              SetupWindow();
  33.     
  34.     //    call SFXDefWindowProc() instead of DefWindowProc()
  35.     LRESULT           DefWindowProc(UINT message, WPARAM wParam, LPARAM lParam);
  36.  
  37.   DECLARE_RESPONSE_TABLE(TSFXFrameWindow);
  38.   DECLARE_STREAMABLE(_OWLCLASS, TSFXFrameWindow, 1);
  39. };    
  40.  
  41. #endif  //    SFX_SFRAME_H
  42.