home *** CD-ROM | disk | FTP | other *** search
/ Programmer 7500 / MAX_PROGRAMMERS.iso / VISUAL_B / PROGRAMS / EM_EDIT / REPLACE.CPP < prev    next >
Encoding:
C/C++ Source or Header  |  1994-04-06  |  1.4 KB  |  55 lines

  1. /*  Project emedit
  2.     Early Morning Software
  3.     Copyright ⌐ 1993. All Rights Reserved.
  4.  
  5.     SUBSYSTEM:    emedit.exe Application
  6.     FILE:         replace.cpp
  7.     AUTHOR:       Ted Stockwell
  8.  
  9.  
  10.     OVERVIEW
  11.     ========
  12.     Source file for implementation of emeditReplaceDialog (TDialog).      
  13. */
  14.  
  15. #include <owl\owlpch.h>
  16. #pragma hdrstop
  17.  
  18. #include "replace.h"
  19.  
  20.  
  21. //{{emeditReplaceDialog Implementation}}
  22.  
  23.  
  24. static emeditReplaceDialogXfer emeditReplaceDialogData;
  25.  
  26. emeditReplaceDialog::emeditReplaceDialog (TWindow* parent, TResId resId, TModule* module):
  27.     TDialog(parent, resId, module)
  28. {
  29. //{{emeditReplaceDialogXFER_USE}}
  30.     SearchText = new TComboBox(this, IDC_COMBOTEXT, 1);
  31.     SearchFromCursor = new TRadioButton(this, IDC_CURSORBUTTON, 0);
  32.     DirectionDown = new TRadioButton(this, IDC_DOWNBUTTON, 0);
  33.     SearchEntireScope = new TRadioButton(this, IDC_ENTIREBUTTON, 0);
  34.     MatchCase = new TCheckBox(this, IDC_MATCHCASE, 0);
  35.     DirectionUp = new TRadioButton(this, IDC_UPBUTTON, 0);
  36.     WholeWordsOnly = new TCheckBox(this, IDC_WHOLEWORDS, 0);
  37.     ReplaceText = new TComboBox(this, IDC_COMBOBOX1, 1);
  38.  
  39.     SetTransferBuffer(&emeditReplaceDialogData);
  40. //{{emeditReplaceDialogXFER_USE_END}}
  41.  
  42.     // INSERT>> Your constructor code here.
  43.  
  44. }
  45.  
  46.  
  47. emeditReplaceDialog::~emeditReplaceDialog ()
  48. {
  49.     Destroy();
  50.  
  51.     // INSERT>> Your destructor code here.
  52.  
  53. }
  54.  
  55.