/****************************************************************************
**
**  Name:  genpres.h
**
**  Description:
**     Include file for the generic presenter window base class.
**
**  $Log:   S:/tbird/mt2_68k/baselib/genpres.h_v  $
** 
**    Rev 1.0   13 Feb 1997 08:39:38   gene
** Initial revision.
** 
**    Rev 1.0   07 Sep 1995 10:01:46   gene
** Initial revision.
** 
**    Rev 1.0   14 Jul 1993 17:33:42   marilyn
** Initial revision.
**  
**  $Header:   S:/tbird/mt2_68k/baselib/genpres.h_v   1.0   13 Feb 1997 08:39:38   gene  $
**
**  Copyright (C) 1991-93 Microtek International.  All rights reserved.
**
*****************************************************************************/

#define _GENPRES_

                       /****************************
                        *                          *
                        *       INCLUDE FILES      *
                        *                          *
                        ****************************/
#ifndef _BASEWIND_
#include "basewind.h"
#endif

#define WIN31
#ifndef __OWL_H
#include <owl.h>
#endif

//#ifndef __OODEWSC_H
//#include <oodewsc.h>
//#endif

//#ifndef _STATBAR_
//#include "statbar.h"
//#endif
//#ifndef _TOOLBAR_
//#include "toolbar.h"
//#endif

		       /****************************
			*                          *
                        *        DEFINITIONS       *
                        *                          *
			****************************/


//---------------------------------------------------------------------//
// Define a generic presenter window class
//---------------------------------------------------------------------//
_CLASSDEF(TPresenterWin)
class TPresenterWin : public TWindow {
public:
   TPresenterWin(PTWindowsObject AParent,LPSTR ATitle,PTModule AModule);
   virtual LPSTR GetClassName() { return presenterWinClassName; };
protected:
   virtual void SetupWindow();
//   virtual void WMMenuSelect(RTMessage Msg) = [WM_FIRST + WM_MENUSELECT];
//   virtual void WMSize(RTMessage) = [WM_FIRST + WM_SIZE];
//   virtual void dwmToolReleased(RTMessage Msg) =
//      [WM_FIRST + dwm_ToolReleased];
//   virtual void WMLButtonDown(RTMessage Msg) =
//      [WM_FIRST + WM_LBUTTONDOWN];
//   virtual void WMRButtonDown(RTMessage Msg) =
//      [WM_FIRST + WM_RBUTTONDOWN];
//   virtual void Exit(RTMessage Msg) = [CM_FIRST + EXIT_MID]
//      { PostMessage(HWindow,WM_SYSCOMMAND, SC_CLOSE, 0L); };

private:
   HWND          hPresenterToolBar;
   HWND          hPresenterStatus;
//   PTToolbar     TB;
//   PTStatusWin   SB;
   static char   presenterWinClassName[];
};



		       /****************************
			*                          *
                        *        PROTOTYPES        *
                        *                          *
                        ****************************/

#ifdef __cplusplus
extern "C" {
#endif
RETCODE EXPORT CreatePresenterWindow(HWND ParentWindow,
      LPSTR ATitle, PTWindowsObject *PresenterWin);
#ifdef __cplusplus
}
#endif
/******************************** E O F ***********************************/
