CWnd::DeleteTempMap 

static void PASCAL DeleteTempMap( );

Remarks

Called automatically by the idle time handler of the CWinApp object. Deletes any temporary CWnd objects created by the FromHandle member function.

Example

// The following example is correct:
CWnd::DeleteTempMap();

// The following example is incorrect.
// DeleteTempMap() is a static member and cannot be called 
// within the scope of an instantiated CWnd object.
pWnd->DeleteTempMap();  // Causes compiler error

CWnd OverviewClass MembersHierarchy Chart

See Also   CWnd::FromHandle