Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
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);