3 #include "HistoryCombo.h"
6 #include "StandAloneDlg.h"
7 #include "LoglistCommonResource.h"
10 #define IDT_FILTER 101
12 class CFindDlg
: public CResizableStandAloneDialog
14 DECLARE_DYNAMIC(CFindDlg
)
17 CFindDlg(CWnd
* pParent
= NULL
); // standard constructor
19 void Create(CWnd
* pParent
= NULL
) {m_pParent
= pParent
; CDialog::Create(IDD
, pParent
);ShowWindow(SW_SHOW
);UpdateWindow();}
21 bool IsTerminating() {return m_bTerminating
;}
22 bool FindNext() {return m_bFindNext
;}
23 bool MatchCase() {return !!m_bMatchCase
;}
24 bool WholeWord() {return !!m_bWholeWord
;}
25 bool IsRef() {return !!m_bIsRef
;}
26 CString
GetFindString() {return m_FindString
;}
29 enum { IDD
= IDD_FIND
};
32 virtual void DoDataExchange(CDataExchange
* pDX
); // DDX/DDV support
33 virtual void OnCancel();
34 virtual void PostNcDestroy();
36 virtual BOOL
OnInitDialog();
37 afx_msg
void OnCbnEditchangeFindcombo();
48 CHistoryCombo m_FindCombo
;
51 STRING_VECTOR m_RefList
;
56 CListCtrl m_ctrlRefList
;
58 afx_msg
void OnNMClickListRef(NMHDR
*pNMHDR
, LRESULT
*pResult
);
59 afx_msg
void OnEnChangeEditFilter();
60 afx_msg
void OnTimer(UINT_PTR nIDEvent
);