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

  1. #ifndef __OOL_XSTATIC_H__
  2. #define __OOL_XSTATIC_H__
  3.  
  4. /*===========================================================================*/
  5. /* OOL ------------------- the Open Object Library ------------------- r 1.0 */
  6. /*===========================================================================*/
  7. /*                              class: XStatic                               */
  8. /*                       derived from: XWindow                              */
  9. /*                        last update: 12/96                                 */
  10. /*                      programmed by: Stefan von Brauk (sbrauk@gwdg.de)     */
  11. /*===========================================================================*/
  12.  
  13.  
  14. #include "xcontrol.h"
  15.  
  16. #define ST_AUTOSIZE   SS_AUTOSIZE
  17.  
  18. class _export_ XStatic: public XWindow
  19. {
  20.       friend MRESULT StaticProc(HWND hwnd, ULONG msg, MPARAM mp1, MPARAM mp2);
  21.       PFNWP oldfunc;
  22.    protected:
  23.       XStatic( const OOL_WINDOWHANDLE hwnd);
  24.       XStatic( const ULONG style, const char * title, const PSZ classname, const XWindow * ow, const XRect& r, const LONG id = 0, const char * font = NULL);
  25.    public:
  26.       virtual ~XStatic() {;}
  27. };
  28.  
  29. #endif
  30.