home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Hall of Fame Game Cube 5: Strategy
/
aztechhalloffamegamecubedisc5-
/
flip
/
install
/
dialog_1.cpp
< prev
next >
Wrap
C/C++ Source or Header
|
1994-06-25
|
2KB
|
81 lines
//REGEN_FILEHEADING
//REGEN_FILEHEADING
/********************************************************************
* *
* Source File: DIALOG_1.cpp *
* Description: Dialog implementation for FLIPIT *
* Date: Sat Jun 25 15:12:31 1994 *
* *
********************************************************************/
#include <owl.h>
#include <edit.h>
#include <listbox.h>
#include <combobox.h>
#include <scrollba.h>
#include <dialog.h>
#include <bwcc.h>
#include "FlipitID.h"
#include "FlipiCls.h"
//REGEN_VARIABLES
extern HWND ghWindow;
//REGEN_VARIABLES
extern HINSTANCE hInst;
// Define TDIALOG_1Dlg, a TDialog constructor
TDIALOG_1Dlg::TDIALOG_1Dlg(PTWindowsObject AParent, LPSTR AName)
:TDialog(AParent, AName)
{
Edit103 = new TEdit(this, 103, 0);
//REGEN_DIALOG_1_CONSTRUCTOR
//REGEN_DIALOG_1_CONSTRUCTOR
}
// Define TDIALOG_1Dlg destructor
TDIALOG_1Dlg::~TDIALOG_1Dlg()
{
//REGEN_DIALOG_1_DESTRUCTOR
//REGEN_DIALOG_1_DESTRUCTOR
delete Edit103;
}
void TDIALOG_1Dlg::Ok(RTMessage Msg)
{
switch(Msg.LP.Hi)
{
case BN_CLICKED :
//REGEN_DIALOG_1IDOK_ROUTING
SetTimer(ghWindow,10,1500,NULL);
//REGEN_DIALOG_1IDOK_ROUTING
TDialog::Ok(Msg);
}
}
//REGEN_CODE
void TDIALOG_1Dlg::SetupWindow()
{
TDialog::SetupWindow();
KillTimer(ghWindow,10);
Edit103->SetText((LPSTR) "Thank you for your support.\r\n"
"\r\n"
"Brian Marquis\r\n"
"226 E. Fairview\r\n"
"South Bend, IN 46614\r\n"
"Compuserve: 73043,507");
}
//REGEN_CODE