Click here to Skip to main content
11,707,254 members (54,259 online)
Click here to Skip to main content
Add your own
alternative version

Hooks and DLLs

, 31 Mar 2001 1.2M 10.3K 310
There is a lot of confusion about how to set up and use global hook functions. This essay attempts to clear up some of these issues.
hooks.zip
HOTT
hook
hook.dsp
hook.dsw
MouseHook
MouseHook.dsp
res
captured.cur
fleeing.cur
hook.ico
#if !defined(AFX_HOOKHELP_H__346C392D_14BC_11D5_A025_006067718D04__INCLUDED_)
#define AFX_HOOKHELP_H__346C392D_14BC_11D5_A025_006067718D04__INCLUDED_

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

/////////////////////////////////////////////////////////////////////////////
// CHookHelp dialog

class CHookHelp : public CDialog
{
// Construction
public:
	CHookHelp(CWnd* pParent = NULL);   // standard constructor

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


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

// Implementation
protected:

	// Generated message map functions
	//{{AFX_MSG(CHookHelp)
		// NOTE: the ClassWizard will add member functions here
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

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

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

Share

About the Author

Joseph M. Newcomer
Retired
United States United States
PhD, Computer Science, Carnegie Mellon University, 1975
Certificate in Forensic Science and the Law, Duquesne University, 2008

Co-Author, [i]Win32 Programming[/i]

You may also be interested in...

| Advertise | Privacy | Terms of Use | Mobile
Web03 | 2.8.150819.1 | Last Updated 1 Apr 2001
Article Copyright 2001 by Joseph M. Newcomer
Everything else Copyright © CodeProject, 1999-2015
Layout: fixed | fluid