共用方式為


CDC::DeleteTempMap

Called automatically by the CWinApp idle-time handler, DeleteTempMap deletes any temporary CDC objects created by FromHandle, but does not destroy the device context handles (hDCs) temporarily associated with the CDC objects.

static void PASCAL DeleteTempMap( );

Requirements

Header: afxwin.h

See Also

Reference

CDC Class

Hierarchy Chart

CDC::Detach

CDC::FromHandle

CWinApp::OnIdle

Other Resources

CDC Members