GFindDlg Class Reference

Find dialog. More...

#include <GFindReplaceDlg.h>

Inheritance diagram for GFindDlg:

GFindReplaceCommon GDialog GWindow GLgiRes GView GDragDropTarget

List of all members.

Public Member Functions

 GFindDlg (GView *Parent, char *Init=0, GFrCallback Callback=0, void *UserData=0)
 Constructor.
void OnCreate ()
 The view is attached.
int OnNotify (GViewI *Ctrl, int Flags)
 Called when a child view or view with it's SetNotify() set to this window changes.


Detailed Description

Find dialog.

Constructor & Destructor Documentation

GFindDlg::GFindDlg ( GView Parent,
char *  Init = 0,
GFrCallback  Callback = 0,
void *  UserData = 0 
)

Constructor.

Parameters:
Parent  The parent window
Init  The initial string for the find argument
Callback  Callback
UserData  User defined data for callback

References GFindReplaceCommon::Find, IDCANCEL, IDOK, List< Type >::Insert(), GView::MoveToCenter(), GWindow::Name(), GView::SetParent(), and GWindow::SetPos().


Member Function Documentation

int GFindDlg::OnNotify ( GViewI *  Ctrl,
int  Flags 
)

Called when a child view or view with it's SetNotify() set to this window changes.

The event by default will bubble up to the GWindow at the top of the window heirarchy visiting each GView on the way. If it reaches a GView that processes it then the event stops propergating up the heirarchy.

Reimplemented from GView.

References GDialog::EndModal(), GFindReplaceCommon::Find, GView::GetCtrlName(), GView::GetCtrlValue(), IDCANCEL, IDOK, GFindReplaceCommon::MatchCase, and GFindReplaceCommon::MatchWord.


The documentation for this class was generated from the following files:

Generated on Wed Dec 1 15:41:03 2010 for Lgi by  doxygen 1.5.7.1