|
// stdafx.cpp : source file that includes just the standard includes
// 002.pch will be the pre-compiled header
// stdafx.obj will contain the pre-compiled type information
#include "stdafx.h"
//-----------------------------------------------------------------------------------
void DDX_Text_No_Tip (CDataExchange* pDX, int nIDC, int& t, int tDefault)
{
if (pDX->m_bSaveAndValidate)
{
CString s ;
pDX->m_pDlgWnd->GetDlgItemText(nIDC, s) ;
t = (s.GetLength() ? StrToInt(s) : tDefault) ;
}
else
{
DDX_Text(pDX, nIDC, t) ;
}
}
|
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.
graduate from University of Science and Technology of China at 2002.
Now I work at www.phoxo.com.