Click here to Skip to main content
13,452,641 members (56,598 online)
Click here to Skip to main content


162 bookmarked
Posted 5 Aug 2003

VssReporter 2.1 - A Visual SourceSafe reporting tool for build administrators

, 25 Mar 2006
A support tool to allow those performing builds to independently determine exactly what source files have been changed and by whom
// HotTracker.h: interface for the CHotTracker class.

#if !defined(AFX_HOTTRACKER_H__5F3B72B7_716D_47A0_B2A3_8815CE3FEBBE__INCLUDED_)
#define AFX_HOTTRACKER_H__5F3B72B7_716D_47A0_B2A3_8815CE3FEBBE__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

#include "Subclass.h"
#include <afxtempl.h>

const UINT WM_HTHOTCHANGE = ::RegisterWindowMessage("WM_HTHOTCHANGE");

class CHotTracker : public CSubclassWnd  
	virtual ~CHotTracker();

	BOOL Initialize(CWnd* pWnd);
	void Reset();

	int AddRect(const CRect& rect);
	int AddRect(); // adds a placeholder
	BOOL UpdateRect(int nRect, const CRect& rect);
	int GetRectCount() { return m_aRects.GetSize(); }

	CArray<CRect, CRect&> m_aRects;
	int m_nHotRect;

	int HitTest(CPoint ptScreen);
	virtual LRESULT WindowProc(HWND hRealWnd, UINT msg, WPARAM wp, LPARAM lp);
	void InitTracking();


#endif // !defined(AFX_HOTTRACKER_H__5F3B72B7_716D_47A0_B2A3_8815CE3FEBBE__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.


This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here


About the Author

Software Developer Maptek
Australia Australia
.dan.g. is a naturalised Australian and has been developing commercial windows software since 1998.

You may also be interested in...

Permalink | Advertise | Privacy | Terms of Use | Mobile
Web02 | 2.8.180318.3 | Last Updated 25 Mar 2006
Article Copyright 2003 by .dan.g.
Everything else Copyright © CodeProject, 1999-2018
Layout: fixed | fluid