Click here to Skip to main content
15,895,746 members
Articles / Desktop Programming / ATL

How to Use IMessageFilter: the complete edition

Rate me:
Please Sign up or sign in to vote.
4.00/5 (8 votes)
19 Feb 20066 min read 51.2K   536   23  
This article shows you exactly how to create a COM object that uses IMessageFilter - both in client and server sides.
//{{NO_DEPENDENCIES}}
// Microsoft Visual C++ generated include file.
// Used by MessageFilterServer.rc
//
#define IDS_PROJNAME                    100
#define IDR_MESSAGEFILTERSERVER         101
#define IDR_SERVER                      102
#define IDR_MY_MESSAGEFILTER			103

// Next default values for new objects
// 
#ifdef APSTUDIO_INVOKED
#ifndef APSTUDIO_READONLY_SYMBOLS
#define _APS_NEXT_RESOURCE_VALUE        201
#define _APS_NEXT_COMMAND_VALUE         32768
#define _APS_NEXT_CONTROL_VALUE         201
#define _APS_NEXT_SYMED_VALUE           103
#endif
#endif

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


Written By
Israel Israel
working for Intel

My Linkedin Profile

Visit my photography gallery

Comments and Discussions