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

  1. #ifndef __OOL_XFRAMECNT_H__
  2. #define __OOL_XFRAMECNT_H__
  3.  
  4. /*===========================================================================*/
  5. /* OOL ------------------- the Open Object Library ------------------- r 1.0 */
  6. /*===========================================================================*/
  7. /*                              class: XFrameControl                         */
  8. /*                       derived from: XUserWindow                           */
  9. /*                        last update: 9/97                                  */
  10. /*                      programmed by: Stefan von Brauk (sbrauk@gwdg.de)     */
  11. /*===========================================================================*/
  12.  
  13.  
  14. #include "xuserwnd.h"
  15.  
  16. #define TB_TOP       1
  17. #define TB_BOTTOM    2
  18. #define TB_LEFT      4
  19. #define TB_RIGHT     8
  20. #define TB_NOBORDER   32
  21.  
  22. class XFrameWindow;
  23.  
  24. class _export_ XFrameControl: public XUserWindow{
  25.       friend class XFrame;
  26.    protected:
  27.       XFrameControl( const XFrameWindow * w, const LONG style, const ULONG id=0);
  28.       virtual ~XFrameControl() {;}
  29.       SHORT style;
  30.       USHORT cy, cx;
  31.    public:
  32.       virtual void AdjustSize( PSWP pswpToolbar, PSWP pswpClient);
  33. };
  34.  
  35. #endif
  36.