home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / ool_main.zip / ool / include / xframe.h < prev    next >
Text File  |  1997-08-12  |  1KB  |  41 lines

  1. #ifndef __OOL_XFRAME_H__
  2. #define  __OOL_XFRAME_H__
  3.  
  4. /*===========================================================================*/
  5. /* OOL ------------------- the Open Object Library ------------------- r 1.0 */
  6. /*===========================================================================*/
  7. /*                              class: XFrame                                */
  8. /*                       derived from: XControl                              */
  9. /*                        last update: 12/96                                 */
  10. /*                      programmed by: Stefan von Brauk (sbrauk@gwdg.de)     */
  11. /*===========================================================================*/
  12.  
  13.  
  14.  
  15. #include "xcontrol.h"
  16.  
  17. class XFrameControl;
  18.  
  19. class _export_ XFrame: public XControl{
  20.       friend class XFrameWindow;
  21.       friend class XScrollWindow;
  22.       friend class XToolBar;
  23.       friend class XMenuBar;
  24.       friend class XProcess;
  25.    private:
  26.       USHORT adds;
  27.       USHORT controls;
  28.       XFrameControl ** cont;
  29.       XFrameWindow * frame;
  30.    public:
  31.       MRESULT HandleMessage( ULONG msg, MPARAM mp1, MPARAM mp2 );
  32.       XFrame( const XFrameWindow * );
  33.       XFrame( const HWND hwnd);
  34.       virtual ~XFrame();
  35.       void AddFrameControl( XFrameControl * f);
  36.       virtual XWindow * QueryWindow( const ULONG id ) const ;
  37.       void RemoveFrameControl( XFrameControl * f);
  38. };
  39.  
  40. #endif
  41.