wxFindDialogEvent

wxFindReplaceDialog events

Derived from

wxCommandEvent

Include files

<wx/fdrepdlg.h>

Event table macros

To process a command event from wxFindReplaceDialog, use these event handler macros to direct input to member functions that take a wxFindDialogEvent argument. The id parameter is the identifier of the find dialog and you may usually specify $-1$ for it unless you plan to have several find dialogs sending events to the same owner window simultaneously.

EVT_FIND(id, func) Find button was pressed in the dialog.
EVT_FIND_NEXT(id, func) Find next button was pressed in the dialog.
EVT_FIND_REPLACE(id, func) Replace button was pressed in the dialog.
EVT_FIND_REPLACE_ALL(id, func) Replace all button was pressed in the dialog.
EVT_FIND_CLOSE(id, func) The dialog is being destroyed, any pointers to it cannot be used any longer.



wxFindDialogEvent::wxFindDialogEvent



wxFindDialogEvent(wxEventType commandType = wxEVT_NULL, int id = 0)

Constuctor used by wxWidgets only.



wxFindDialogEvent::GetFlags

int GetFlags(void) const

Get the currently selected flags: this is the combination of wxFR_DOWN, wxFR_WHOLEWORD and wxFR_MATCHCASE flags.



wxFindDialogEvent::GetFindString

wxString GetFindString(void) const

Return the string to find (never empty).



wxFindDialogEvent::GetReplaceString

const wxString& GetReplaceString(void) const

Return the string to replace the search string with (only for replace and replace all events).



wxFindDialogEvent::GetDialog

wxFindReplaceDialog* GetDialog(void) const

Return the pointer to the dialog which generated this event.

ymasuda 平成17年11月19日