Category : C++ Source Code
Archive   : EXECWA.ZIP
Filename : TESTWAIT.H

 
Output of file : TESTWAIT.H contained in archive : EXECWA.ZIP

/*****************************************************************************
TestWait Header file
*****************************************************************************/
#ifndef INCL_TestWait
#define INCL_TestWait

#include "ExecWait.h"
#include
/*****************************************************************************
Class Declarations
The Application and Window classes are defined, they are derived from the
Borlands Object Windows Library
*****************************************************************************/
//============================================================================
// Application
// All OWL windows must have an application class
//============================================================================
class TestWaitApp : public TApplication
{
public:
TestWaitApp(LPSTR AName, HANDLE hInstance, HANDLE hPrevInstance,
LPSTR lpCmdLine, int nCmdShow) :
TApplication(AName, hInstance, hPrevInstance, lpCmdLine, nCmdShow){};
virtual void InitMainWindow(void);
};
//============================================================================
// Window
// The main window is a dialog box that simply allows a central point to access
// The other modules
//============================================================================
class TestWait: public TDialog
{
public:
TestWait(LPSTR AName);
virtual void ExitMenu(RTMessage Msg) = [ID_FIRST + IDD_EXIT];
virtual LPSTR GetClassName() {return "bordlg_TestWait";}
virtual void GetWindowClass(WNDCLASS&);
virtual void ProcessExecWait(RTMessage Msg) = [WM_FIRST + WM_TASK_QUIT];
virtual void TestExecWait(RTMessage Msg) = [ID_FIRST + IDD_EXECWAIT];

private:
PExecWait pExecWait;
PTButton pbExecWait;
};

int PASCAL WinMain(HANDLE hInstance, HANDLE hPrevInstance, LPSTR lpCmdLine,
int nCmdShow);
#endif