home *** CD-ROM | disk | FTP | other *** search
/ Hall of Fame Game Cube 5: Strategy / aztechhalloffamegamecubedisc5- / flip / dialog_1.cpp < prev    next >
C/C++ Source or Header  |  1994-06-25  |  2KB  |  81 lines

  1. //REGEN_FILEHEADING
  2. //REGEN_FILEHEADING
  3.  
  4.      /********************************************************************
  5.       *                                                                  *
  6.       *   Source File: DIALOG_1.cpp                                      *
  7.       *   Description: Dialog implementation for FLIPIT                  *
  8.       *   Date:        Sat Jun 25 15:12:31 1994                          *
  9.       *                                                                  *
  10.       ********************************************************************/
  11.  
  12. #include <owl.h>
  13. #include <edit.h>
  14. #include <listbox.h>
  15. #include <combobox.h>
  16. #include <scrollba.h>
  17. #include <dialog.h>
  18. #include <bwcc.h>
  19. #include "FlipitID.h"
  20. #include "FlipiCls.h"
  21.  
  22.  
  23. //REGEN_VARIABLES
  24. extern HWND ghWindow;
  25. //REGEN_VARIABLES
  26.  
  27. extern HINSTANCE hInst;
  28.  
  29.  
  30. // Define TDIALOG_1Dlg, a TDialog constructor
  31. TDIALOG_1Dlg::TDIALOG_1Dlg(PTWindowsObject AParent, LPSTR AName)
  32.                :TDialog(AParent, AName)
  33. {
  34.  
  35.    Edit103 = new TEdit(this, 103, 0);
  36.    //REGEN_DIALOG_1_CONSTRUCTOR
  37.    //REGEN_DIALOG_1_CONSTRUCTOR
  38.  
  39. }
  40.  
  41. // Define TDIALOG_1Dlg destructor
  42. TDIALOG_1Dlg::~TDIALOG_1Dlg()
  43. {
  44.  
  45.    //REGEN_DIALOG_1_DESTRUCTOR
  46.    //REGEN_DIALOG_1_DESTRUCTOR
  47.  
  48.    delete Edit103;
  49. }
  50.  
  51. void TDIALOG_1Dlg::Ok(RTMessage Msg)
  52. {
  53.    switch(Msg.LP.Hi)
  54.    {
  55.       case BN_CLICKED :
  56.       //REGEN_DIALOG_1IDOK_ROUTING
  57.      SetTimer(ghWindow,10,1500,NULL);
  58.       //REGEN_DIALOG_1IDOK_ROUTING
  59.          TDialog::Ok(Msg);
  60.    }
  61. }
  62.  
  63.  
  64. //REGEN_CODE
  65. void TDIALOG_1Dlg::SetupWindow()
  66. {
  67.    TDialog::SetupWindow();
  68.    KillTimer(ghWindow,10);
  69.  
  70.    Edit103->SetText((LPSTR) "Thank you for your support.\r\n"
  71.    "\r\n"
  72.    "Brian Marquis\r\n"
  73.    "226 E. Fairview\r\n"
  74.    "South Bend, IN 46614\r\n"
  75.    "Compuserve: 73043,507");
  76.  
  77.    
  78. }
  79. //REGEN_CODE
  80.  
  81.