Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Called automatically by the CWinApp idle-time handler, deletes any temporary CMenu objects created by the FromHandle member function.
static void PASCAL DeleteTempMap( );
Remarks
DeleteTempMap detaches the Windows menu object attached to a temporary CMenu object before deleting the CMenu object.
Example
// DeleteTempMap() is a static member and does not need
// an instantiated CMenu object.
CMenu::DeleteTempMap();
Requirements
Header: afxwin.h