共用方式為


CGdiObject::DeleteTempMap

會呼叫由 CWinApp 閒置時間管理員, DeleteTempMap 刪除 FromHandle建立的所有 CGdiObject 暫存物件。

static void PASCAL DeleteTempMap( );

備註

DeleteTempMap 中斷連結在刪除 CGdiObject 物件之前附加至暫存物件 CGdiObject Windows GDI 物件。

範例

// 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 類別

階層架構圖

CGdiObject::Detach

CGdiObject::FromHandle