doom3-gpl
Doom 3 GPL source release
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Types | Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
FindDialog Class Reference

Dialog that provides an input box and several checkboxes to define the parameters of a search. More...

#include <FindDialog.h>

Inheritance diagram for FindDialog:

Public Types

enum  { IDD = IDD_FIND }
 

Public Member Functions

 FindDialog (CWnd *pParent=NULL)
 Constructor for FindDialog. More...
 
virtual ~FindDialog ()
 Destructor for FindDialog. More...
 
BOOL Create ()
 Creates and instance of the find dialog. More...
 

Protected Member Functions

virtual void DoDataExchange (CDataExchange *pDX)
 Transfers data to and from the controls in the find dialog. More...
 
virtual BOOL OnInitDialog ()
 Called while the dialog is being initialized to load the find parameters from the registry and set the focus to the correct control. More...
 
afx_msg void OnBnClickedFindNext ()
 Triggers a search based on the parameters in the dialog. More...
 
virtual void OnCancel ()
 Saves the search parameters and closes the find dialog. More...
 
void LoadFindSettings ()
 Loads the search parameters from the registry and makes sure the controls are properly initialized. More...
 
void SaveFindSettings ()
 Saves the search parameters to the registry. More...
 

Protected Attributes

MEMainFrameparent
 
MaterialSearchData_t searchData
 
rvRegistryOptions registry
 

Detailed Description

Dialog that provides an input box and several checkboxes to define the parameters of a search.

These parameters include: text string, search scope and search only name flag.

Definition at line 40 of file FindDialog.h.

Member Enumeration Documentation

anonymous enum
Enumerator
IDD 

Definition at line 44 of file FindDialog.h.

Constructor & Destructor Documentation

FindDialog::FindDialog ( CWnd *  pParent = NULL)

Constructor for FindDialog.

Definition at line 45 of file FindDialog.cpp.

FindDialog::~FindDialog ( )
virtual

Destructor for FindDialog.

Definition at line 54 of file FindDialog.cpp.

Member Function Documentation

BOOL FindDialog::Create ( )

Creates and instance of the find dialog.

Definition at line 60 of file FindDialog.cpp.

void FindDialog::DoDataExchange ( CDataExchange *  pDX)
protectedvirtual

Transfers data to and from the controls in the find dialog.

Definition at line 67 of file FindDialog.cpp.

void FindDialog::LoadFindSettings ( )
protected

Loads the search parameters from the registry and makes sure the controls are properly initialized.

Definition at line 117 of file FindDialog.cpp.

void FindDialog::OnBnClickedFindNext ( )
protected

Triggers a search based on the parameters in the dialog.

Definition at line 95 of file FindDialog.cpp.

void FindDialog::OnCancel ( )
protectedvirtual

Saves the search parameters and closes the find dialog.

Definition at line 105 of file FindDialog.cpp.

BOOL FindDialog::OnInitDialog ( )
protectedvirtual

Called while the dialog is being initialized to load the find parameters from the registry and set the focus to the correct control.

Definition at line 82 of file FindDialog.cpp.

void FindDialog::SaveFindSettings ( )
protected

Saves the search parameters to the registry.

Definition at line 132 of file FindDialog.cpp.

Member Data Documentation

MEMainFrame* FindDialog::parent
protected

Definition at line 69 of file FindDialog.h.

rvRegistryOptions FindDialog::registry
protected

Definition at line 71 of file FindDialog.h.

MaterialSearchData_t FindDialog::searchData
protected

Definition at line 70 of file FindDialog.h.


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