|
/*****************************************************************************
COPYRIGHT (C) 2000, Ken Bertelson <kenbertelson@hotmail.com>
*****************************************************************************/
#include "stdafx.h"
#include "BtnDataBase.h"
#ifdef _DEBUG
#undef THIS_FILE
static char THIS_FILE[]=__FILE__;
#define new DEBUG_NEW
#endif
//////////////////////////////////////////////////////////////////////
// Construction/Destruction
//////////////////////////////////////////////////////////////////////
CBtnDataBase::CBtnDataBase()
{
m_strText.Empty();
m_nFormat = DT_LEFT|DT_VCENTER|DT_SINGLELINE|DT_END_ELLIPSIS;
m_nImage = -1;
m_crBkClr = CLR_DEFAULT;
m_crFgClr = CLR_DEFAULT;
m_lParam = 0;
m_nMargin = 3;
m_pGrid = NULL;
m_pEditWnd = NULL;
m_plfFont = NULL;
}
CBtnDataBase::~CBtnDataBase()
{
delete m_plfFont;
}
|
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.
Began programming in 1968 on a Wang 720. Move to Fortran and began developing FEM (finite element model) applications on an IBM 360 in 1973. Developed custom FEM editors for most of my career until 1995.