From c5cbaa15a120f52b346ab2a869be0abd14fffe2b Mon Sep 17 00:00:00 2001 From: mjjo Date: Sat, 20 Jul 2013 23:23:08 +0000 Subject: [PATCH] --- HookMsg/FindTargetWndDlg.h | 60 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 60 insertions(+) create mode 100644 HookMsg/FindTargetWndDlg.h diff --git a/HookMsg/FindTargetWndDlg.h b/HookMsg/FindTargetWndDlg.h new file mode 100644 index 0000000..506a2a5 --- /dev/null +++ b/HookMsg/FindTargetWndDlg.h @@ -0,0 +1,60 @@ +#if !defined(AFX_FINDTARGETWNDDLG_H__0493DB43_69C2_4B7A_B9EC_C55A8078A5F3__INCLUDED_) +#define AFX_FINDTARGETWNDDLG_H__0493DB43_69C2_4B7A_B9EC_C55A8078A5F3__INCLUDED_ + +#if _MSC_VER > 1000 +#pragma once +#endif // _MSC_VER > 1000 +// FindTargetWndDlg.h : header file +// + + +///////////////////////////////////////////////////////////////////////////// +// CFindTargetWndDlg dialog + +class CFindTargetWndDlg : public CDialog +{ +// Construction +public: + CFindTargetWndDlg(CWnd* pParent = NULL); // standard constructor + +// Dialog Data + //{{AFX_DATA(CFindTargetWndDlg) + enum { IDD = IDD_TARGETWND_DLG }; + //}}AFX_DATA + +public: + HWND m_hFindWindow[MAX_FIND]; // ½ÇÁ¦ ãÀº ÇÚµéÀ» ÀúÀåÇÔ. +protected: + BOOL m_bFinding; // À©µµ¿ìÀÇ ÇÚµéÀ» ã°íÀÖ´Â Áß + HWND m_hLastFind; // ¸¶Áö¸· ãÀº À©µµ¿ìÀÇ ÇÚµé + int m_nFindNow; // ÇöÀç ã´Â À©µµ¿ìÁ¾·ù. + int m_idHANDLE, m_idCAPTION, m_idCLASS; + +// Overrides + // ClassWizard generated virtual function overrides + //{{AFX_VIRTUAL(CFindTargetWndDlg) + protected: + virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support + //}}AFX_VIRTUAL + +// Implementation +protected: + void UpdateEditBox(CWnd* pWnd, BOOL bDrawBorder); + void DrawBorder(HWND hWnd); + + // Generated message map functions + //{{AFX_MSG(CFindTargetWndDlg) + afx_msg void OnLButtonDown(UINT nFlags, CPoint point); + afx_msg void OnMouseMove(UINT nFlags, CPoint point); + afx_msg void OnLButtonUp(UINT nFlags, CPoint point); + virtual BOOL OnInitDialog(); + virtual void OnOK(); + virtual void OnCancel(); + //}}AFX_MSG + DECLARE_MESSAGE_MAP() +}; + +//{{AFX_INSERT_LOCATION}} +// Microsoft Visual C++ will insert additional declarations immediately before the previous line. + +#endif // !defined(AFX_FINDTARGETWNDDLG_H__0493DB43_69C2_4B7A_B9EC_C55A8078A5F3__INCLUDED_)