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

  1. #if !defined(__replace_h)              // Sentry, use file only if it's not already included.
  2. #define __replace_h
  3.  
  4. /*  Project emedit
  5.     Early Morning Software
  6.     Copyright ⌐ 1993. All Rights Reserved.
  7.  
  8.     SUBSYSTEM:    emedit.exe Application
  9.     FILE:         replace.h
  10.     AUTHOR:       Ted Stockwell
  11.  
  12.  
  13.     OVERVIEW
  14.     ========
  15.     Class definition for emeditReplaceDialog (TDialog).      
  16. */
  17.  
  18. #include <owl\checkbox.h>
  19. #include <owl\radiobut.h>
  20. #include <owl\combobox.h>
  21. #include <owl\owlpch.h>
  22. #pragma hdrstop
  23.  
  24. #include <owl\dialog.h>
  25.  
  26. #include "emedtapp.rh"            // Definition of all resources.
  27.  
  28.  
  29. //{{TDialog = emeditReplaceDialog}}
  30. struct emeditReplaceDialogXfer {
  31. public:
  32.     emeditReplaceDialogXfer() {
  33.       MatchCase= WholeWordsOnly= DirectionUp= SearchEntireScope= FALSE;
  34.       DirectionDown= SearchFromCursor= TRUE;
  35.     }
  36.  
  37. //{{emeditReplaceDialogXFER_DATA}}
  38.     TComboBoxData  SearchText;
  39.     BOOL    SearchFromCursor;
  40.     BOOL    DirectionDown;
  41.     BOOL    SearchEntireScope;
  42.     BOOL    MatchCase;
  43.     BOOL    DirectionUp;
  44.     BOOL    WholeWordsOnly;
  45.     TComboBoxData  ReplaceText;
  46. //{{emeditReplaceDialogXFER_DATA_END}}
  47. };
  48.  
  49.  
  50. class emeditReplaceDialog : public TDialog {
  51. public:
  52.     emeditReplaceDialog (TWindow* parent, TResId resId = IDD_EMREPLACE, TModule* module = 0);
  53.     virtual ~emeditReplaceDialog ();
  54.  
  55. //{{emeditReplaceDialogXFER_DEF}}
  56. protected:
  57.     TComboBox *SearchText;
  58.     TRadioButton *SearchFromCursor;
  59.     TRadioButton *DirectionDown;
  60.     TRadioButton *SearchEntireScope;
  61.     TCheckBox *MatchCase;
  62.     TRadioButton *DirectionUp;
  63.     TCheckBox *WholeWordsOnly;
  64.     TComboBox *ReplaceText;
  65.  
  66. //{{emeditReplaceDialogXFER_DEF_END}}
  67. };    //{{emeditReplaceDialog}}
  68.  
  69.  
  70. #endif                                      // __replace_h sentry.
  71.  
  72.