_AFX_SECURE_NO_WARNINGS
Suppresses compiler warnings for the use of deprecated MFC functions.
_AFX_SECURE_NO_WARNINGS
Example
This code sample would cause a compiler warning if _AFX_SECURE_NO_WARNINGS were not defined.
// define this before including any afx files in stdafx.h
#define _AFX_SECURE_NO_WARNINGS
CRichEditCtrl* pRichEdit = new CRichEditCtrl;
pRichEdit->Create(WS_CHILD|WS_VISIBLE|WS_BORDER|ES_MULTILINE,
CRect(10,10,100,200), pParentWnd, 1);
char sz[256];
pRichEdit->GetSelText(sz);