[futurebasic] More disposing of menu icons

Message: < previous - next > : Reply : Subscribe : Cleanse
Home   : April 2005 : Group Archive : Group : All Groups

From: Bernie <fblist@...>
Date: Fri, 1 Apr 2005 23:13:17 +0100
I hope others are finding this thread useful?

So, to summarise, we dispose of cicn, icon suite & icon ref menu icon 
handles with:
_kMenuColorIconType		DisposeCIcon()
_kMenuIconSuiteType		fn DisposeIconSuite()
_kMenuIconRefType		fn ReleaseIconRef()


And I guess these types will be:
_kMenuIconType			fn DisposeHandle()
_kMenuShrinkIconType		fn DisposeHandle()
_kMenuSmallIconType		fn DisposeHandle()

But do we also need to call ReleaseResource()?


I notice that there are another three menu icon types. I wonder if my 
app should support these?
_kMenuCGImageRefType
_kMenuSystemIconSelectorType
_kMenuIconResourceType


TIA
Bernie