Click here to Skip to main content
15,891,136 members
Articles / Desktop Programming / Windows Forms

Overlay Tools

Rate me:
Please Sign up or sign in to vote.
4.92/5 (22 votes)
5 Oct 20075 min read 170.8K   8.8K   63  
..using DirectDraw - A tool for displaying a customisable overlay
#ifndef _COMMON_INC
#define _COMMON_INC

// Modify the following defines if you have to target a platform prior to the ones specified below.
// Refer to MSDN for the latest info on corresponding values for different platforms.
#ifndef WINVER				// Allow use of features specific to Windows XP or later.
#define WINVER 0x0501		// Change this to the appropriate value to target other versions of Windows.
#endif

#ifndef _WIN32_WINNT		// Allow use of features specific to Windows XP or later.                   
#define _WIN32_WINNT 0x0501	// Change this to the appropriate value to target other versions of Windows.
#endif						

#ifndef _WIN32_WINDOWS		// Allow use of features specific to Windows 98 or later.
#define _WIN32_WINDOWS 0x0410 // Change this to the appropriate value to target Windows Me or later.
#endif

#ifndef _WIN32_IE			// Allow use of features specific to IE 6.0 or later.
#define _WIN32_IE 0x0600	// Change this to the appropriate value to target other versions of IE.
#endif

#if defined( UNICODE ) && !defined( _UNICODE )
#define _UNICODE
#endif

#include <tchar.h>

#define WIN32_LEAN_AND_MEAN		// Exclude rarely-used stuff from Windows headers

#include <windows.h>
#include <commctrl.h>

#include <newpluginapi.h>
#include <m_system.h>
#include <m_database.h>
#include <m_langpack.h>

#define MODULE						"MirandaOverlayPlugin"

extern HINSTANCE hInst;
extern PLUGINLINK *pluginLink;

#ifndef MIID_MIRANDAOVERLAYPLUGIN
#define MIID_MIRANDAOVERLAYPLUGIN	{ 0xB375FDBE, 0xEA85, 0x4AEC, { 0xA3, 0x53, 0xDD, 0x91, 0xBA, 0x4D, 0x7E, 0x6C } }
#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



Comments and Discussions