|
// AdvComboEdit.cpp : implementation file
//
#include "stdafx.h"
#include "AdvComboEdit.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// CAdvComboEdit
BEGIN_MESSAGE_MAP(CAdvComboEdit, CEdit)
//{{AFX_MSG_MAP(CAdvComboEdit)
ON_WM_TIMER()
//}}AFX_MSG_MAP
END_MESSAGE_MAP()
CAdvComboEdit::CAdvComboEdit()
{
XLISTCTRL_TRACE(_T("in CAdvComboEdit::CAdvComboEdit\n"));
}
CAdvComboEdit::~CAdvComboEdit()
{
XLISTCTRL_TRACE(_T("in CAdvComboEdit::~CAdvComboEdit\n"));
}
/////////////////////////////////////////////////////////////////////////////
// CAdvComboEdit message handlers
void CAdvComboEdit::OnTimer(UINT nIDEvent)
{
KillTimer(nIDEvent);
SetForegroundWindow();
CEdit::OnTimer(nIDEvent);
}
void CAdvComboEdit::PreSubclassWindow()
{
XLISTCTRL_TRACE(_T("in CAdvComboEdit::PreSubclassWindow\n"));
SetTimer(1, 100, NULL);
CEdit::PreSubclassWindow();
}
|
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.
I attended St. Michael's College of the University of Toronto, with the intention of becoming a priest. A friend in the University's Computer Science Department got me interested in programming, and I have been hooked ever since.
Recently, I have moved to Los Angeles where I am doing consulting and development work.
For consulting and custom software development, please see
www.hdsoft.org.