Click here to Skip to main content
15,896,726 members
Articles / Programming Languages / C++

CatchCulator

Rate me:
Please Sign up or sign in to vote.
4.97/5 (71 votes)
18 Oct 2005CPOL7 min read 131K   2K   69  
A tool used to catch and combine values output by different applications.
#if !defined(AFX_CATCHDLG_H__A75BB572_62AF_4B7F_8275_3FEE073C2C74__INCLUDED_)
#define AFX_CATCHDLG_H__A75BB572_62AF_4B7F_8275_3FEE073C2C74__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// CatchDlg.h : header file
//

#include <afxtempl.h>

/////////////////////////////////////////////////////////////////////////////
// CCatchDlg dialog

class CCatchDlg : public CDialog
{
// Construction
public:
	void ShowHiddenWindows();
	CList <HWND, HWND> m_listHiddenWnd;
	HWND m_hMonitoredWnd;
	CPoint m_ptPosition;
	COLORREF m_colorBkGnd;
	CBrush m_brushBkGnd;
	CRgn m_rgnClip;
	CCatchDlg(CWnd* pParent = NULL);   // standard constructor

// Dialog Data
	//{{AFX_DATA(CCatchDlg)
	enum { IDD = IDD_DIALOG_SELECTOR };
		// NOTE: the ClassWizard will add data members here
	//}}AFX_DATA


// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CCatchDlg)
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	//}}AFX_VIRTUAL

// Implementation
protected:

	// Generated message map functions
	//{{AFX_MSG(CCatchDlg)
	afx_msg HBRUSH OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor);
	virtual BOOL OnInitDialog();
	afx_msg void OnButtonTry();
	afx_msg void OnButtonHide();
	afx_msg void OnButtonCatch();
	afx_msg void OnDestroy();
	virtual void OnOK();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_CATCHDLG_H__A75BB572_62AF_4B7F_8275_3FEE073C2C74__INCLUDED_)

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Software Developer (Senior)
Europe Europe
More than 30 years of software development experience.
(also playing the SCRUM Master role depending on the project)

Comments and Discussions