|
// ReadonlyEdit.cpp : implementation file
//
#include "stdafx.h"
#include "exile.h"
#include "ReadonlyEdit.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// CReadonlyEdit
IMPLEMENT_DYNAMIC(CReadonlyEdit, CEdit)
CReadonlyEdit::CReadonlyEdit()
{
}
CReadonlyEdit::~CReadonlyEdit()
{
}
BEGIN_MESSAGE_MAP(CReadonlyEdit, CEdit)
//{{AFX_MSG_MAP(CReadonlyEdit)
ON_WM_CHAR()
ON_MESSAGE(WM_COPY, OnCopy)
//}}AFX_MSG_MAP
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
// CReadonlyEdit message handlers
void CReadonlyEdit::OnChar(UINT nChar, UINT nRepCnt, UINT nFlags)
{
// Do nothing
}
LRESULT CReadonlyEdit::OnCopy(WPARAM wParam, LPARAM lParam)
{
TRACE("Need to copy!\n");
return 0;
}
|
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