Public Member Functions | Static Public Member Functions | Public Attributes | Private Member Functions | Private Attributes

AiksaurusDlg Class Reference

#include <AiksaurusDlg.h>

List of all members.

Public Member Functions

 AiksaurusDlg ()
virtual ~AiksaurusDlg ()
void runModal (AiksaurusApp *pApp)
void setSearch (string word)
string getReplacement ()
BOOL _onInitDialog (HWND hWnd, WPARAM wParam, LPARAM lParam)
BOOL _onCommand (HWND hWnd, WPARAM wParam, LPARAM lParam)
BOOL _onSetCursor (HWND hWnd, WPARAM wParam, LPARAM lParam)
BOOL _onDeltaPos (NM_UPDOWN *pnmud)

Static Public Member Functions

static BOOL CALLBACK s_dlgProc (HWND hwnd, UINT msg, WPARAM wParam, LPARAM lParam)

Public Attributes

HWND m_hDlg

Private Member Functions

void _setNormalButtons ()
void _doSearch ()
void _onBack ()
void _onForward ()
void _addComboString (string str)
void _clearListBoxes ()
void _clearSynonyms ()
void _clearMeanings ()
void _showAlternatives ()
void _showMeanings ()
void _showSynonyms (int index)
void _copyToClipboard ()

Private Attributes

Aiksaurus thesaurus
HINSTANCE m_hInstance
HWND m_hSearch
HWND m_hBack
HWND m_hForward
HWND m_hMeanings
HWND m_hSynonyms
HWND m_hCombo
HWND m_hReplace
HWND m_hSynText
HICON m_hOrigIcon
list< string > listBack
list< string > listForward
vector< list< string > > synonyms
string m_szLookupWord
string m_szReplacementWord
bool m_bSearchBtnChanged
bool m_bBackBtnChanged
bool m_bForwardBtnChanged
bool m_bWordFound

Constructor & Destructor Documentation

AiksaurusDlg::AiksaurusDlg (  ) 
AiksaurusDlg::~AiksaurusDlg (  )  [virtual]

Member Function Documentation

void AiksaurusDlg::_addComboString ( string  str  )  [private]

References m_hCombo.

Referenced by _doSearch().

void AiksaurusDlg::_clearListBoxes (  )  [private]

References _clearMeanings(), and _clearSynonyms().

Referenced by _doSearch(), and _showAlternatives().

void AiksaurusDlg::_clearMeanings (  )  [private]

References m_hMeanings.

Referenced by _clearListBoxes().

void AiksaurusDlg::_clearSynonyms (  )  [private]

References m_hSynonyms.

Referenced by _clearListBoxes(), and _onCommand().

void AiksaurusDlg::_copyToClipboard (  )  [private]

References m_hSynText, and MAX_WORD_LENGTH.

void AiksaurusDlg::_doSearch (  )  [private]
void AiksaurusDlg::_onBack (  )  [private]

References _doSearch(), listBack, listForward, m_hBack, m_hCombo, m_hForward, and s.

Referenced by _onCommand().

BOOL AiksaurusDlg::_onCommand ( HWND  hWnd,
WPARAM  wParam,
LPARAM  lParam 
BOOL AiksaurusDlg::_onDeltaPos ( NM_UPDOWN *  pnmud  ) 

Referenced by s_dlgProc().

void AiksaurusDlg::_onForward (  )  [private]

References _doSearch(), listForward, m_hCombo, m_hForward, and s.

Referenced by _onCommand().

BOOL AiksaurusDlg::_onInitDialog ( HWND  hWnd,
WPARAM  wParam,
LPARAM  lParam 
BOOL AiksaurusDlg::_onSetCursor ( HWND  hWnd,
WPARAM  wParam,
LPARAM  lParam 
void AiksaurusDlg::_setNormalButtons (  )  [private]
void AiksaurusDlg::_showAlternatives (  )  [private]
void AiksaurusDlg::_showMeanings (  )  [private]
void AiksaurusDlg::_showSynonyms ( int  index  )  [private]

References m_hSynonyms, and synonyms.

Referenced by _onCommand(), and _showMeanings().

string AiksaurusDlg::getReplacement (  ) 
void AiksaurusDlg::runModal ( AiksaurusApp pApp  ) 
BOOL CALLBACK AiksaurusDlg::s_dlgProc ( HWND  hwnd,
UINT  msg,
WPARAM  wParam,
LPARAM  lParam 
) [static]
void AiksaurusDlg::setSearch ( string  word  ) 

References m_szLookupWord.

Referenced by AiksaurusApp::runThesaurus().

Member Data Documentation

list<string> AiksaurusDlg::listBack [private]

Referenced by _doSearch(), and _onBack().

list<string> AiksaurusDlg::listForward [private]

Referenced by _onBack(), and _onForward().

Referenced by _doSearch(), _onCommand(), and AiksaurusDlg().

HWND AiksaurusDlg::m_hBack [private]
HWND AiksaurusDlg::m_hCombo [private]

Referenced by _doSearch(), and s_dlgProc().

HWND AiksaurusDlg::m_hForward [private]
HINSTANCE AiksaurusDlg::m_hInstance [private]
HWND AiksaurusDlg::m_hMeanings [private]
HICON AiksaurusDlg::m_hOrigIcon [private]

Referenced by _onCommand(), and _onInitDialog().

HWND AiksaurusDlg::m_hReplace [private]

Referenced by _onInitDialog(), and AiksaurusDlg().

HWND AiksaurusDlg::m_hSearch [private]
HWND AiksaurusDlg::m_hSynonyms [private]
HWND AiksaurusDlg::m_hSynText [private]
string AiksaurusDlg::m_szLookupWord [private]

Referenced by _onCommand(), and getReplacement().

vector< list<string> > AiksaurusDlg::synonyms [private]

Referenced by _showMeanings(), and _showSynonyms().

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