This commit is contained in:
60
HookMsg/FindTargetWndDlg.h
Normal file
60
HookMsg/FindTargetWndDlg.h
Normal file
@@ -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_)
|
||||
Reference in New Issue
Block a user