Поделиться через


CGdiObject::DeleteTempMap

Called automatically by the CWinApp idle-time handler, DeleteTempMap deletes any temporary CGdiObject objects created by FromHandle.

static void PASCAL DeleteTempMap( );

Заметки

DeleteTempMap detaches the Windows GDI object attached to a temporary CGdiObject object before deleting the CGdiObject object.

Пример

// DeleteTempMap() is a static member and so does not need to 
// be called within the scope of an instantiated CGdiObject object.
CGdiObject::DeleteTempMap();

Требования

Header: afxwin.h

См. также

Основные понятия

CGdiObject Class

CGdiObject Members

Hierarchy Chart

CGdiObject::Detach

CGdiObject::FromHandle