1 #ifndef FIND_WINDOW_H 2 #define FIND_WINDOW_H 3 4 class FindWindow : public BWindow { 5 public: 6 FindWindow(BRect frame, BHandler* handler, BString *searchString, bool *caseState, bool *wrapState, bool *backState); 7 8 virtual void MessageReceived(BMessage* message); 9 virtual void DispatchMessage(BMessage* message, BHandler* handler); 10 11 private: 12 void ExtractToMsg(BMessage *message); 13 14 BView *fFindView; 15 BTextControl *fSearchString; 16 BCheckBox *fCaseSensBox; 17 BCheckBox *fWrapBox; 18 BCheckBox *fBackSearchBox; 19 BButton *fCancelButton; 20 BButton *fSearchButton; 21 22 BHandler *fHandler; 23 24 }; 25 #endif 26 27 28 29 30 31 32