static void PASCAL DeleteTempMap( );
Remarks
Called automatically by the CWinApp idle-time handler, DeleteTempMap deletes any temporary CGdiObject objects created by FromHandle. DeleteTempMap detaches the Windows GDI object attached to a temporary CGdiObject object before deleting the CGdiObject object.
Example
// The following example is correct:
CGdiObject::DeleteTempMap();
// The following example is incorrect.
// DeleteTempMap() is a static member and cannot be called
// within the scope of an instantiated CGdiObject object.
pGdiObject->DeleteTempMap(); // Causes compiler error
CGdiObject Overview | Class Members | Hierarchy Chart
See Also CGdiObject::Detach, CGdiObject::FromHandle