|
//////////////////////////////////////////////////////////////////////////////////////////////////
//
// IPCWorkshop
//
// Environment: Visual C++ 6.0, Windows 2000
//
// Notes: Class CClipboard. This class provides an encapulation of
// clipboard, which is a set of functions and messages that enable
// applications to transfer data. Because all applications have
// access to the clipboard, data can be easily transferred between
// applications or within an application.
// Widely used for Cut & Paste and Drag & Drop operations
//
//////////////////////////////////////////////////////////////////////////////////////////////////
#ifndef __CLIPBOARD_H__
#define __CLIPBOARD_H__
class CClipboard
{
public:
CClipboard();
~CClipboard();
//Operations
bool Open();
bool Close();
bool Empty();
void Register(LPCTSTR);
bool Write(char*, int);
bool Read(char*&, int);
private:
static CLIPFORMAT NEAR m_cfPrivate;
};
#endif //__CLIPBOARD_H__
|
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
Iam a software developer from Chennai, India. I've been working mainly under windows environment.I am attracted to various programming languages including : C/C++, Python. I've been programming VC++/MFC, ATL/COM, Lex & Yacc and database design/development ( SQL/Oracle ) for the past two years.