Remarque
L’accès à cette page nécessite une autorisation. Vous pouvez essayer de vous connecter ou de modifier des répertoires.
L’accès à cette page nécessite une autorisation. Vous pouvez essayer de modifier des répertoires.
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);