This documentation is archived and is not being maintained.

CWnd::DeleteTempMap 

Called automatically by the idle time handler of the CWinApp object.


static void PASCAL DeleteTempMap( );

Deletes any temporary CWnd objects created by the FromHandle member function.

// 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
Show: