Use this routine to set destroy the memory and system resources used by an icon.

Occurrence Becomes Active


perform "_getwhnd"

if ($status < 0) done


perform "_mhseticon"


; hIcon = $51

; sizeof(hIcon) = $52


perform "_mhkillicon"

Please note: You should.ensure that the icon is destroyed after use. The Windows system will automatically destroy any icons when the application terminates, destroying it at a more appropriate time frees memory and system resources.


This function is only available under Win32 platforms (ie: Windows 95/98/ME and NT/2000).

$Revision: 1.11 $ $Date: 2011/02/28 02:56:32 $[go to top]