Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- The Guide to Clip-4-Win version 3.0 - <b>destroyicon()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
DestroyIcon()
Destroy an icon and free its resources
------------------------------------------------------------------------------

Syntax
DestroyIcon( <hIcon> )   -->   lSuccess

Arguments
<hIcon> is the handle of the icon to be destroyed.

Returns
If successful, logical TRUE (.T.) is returned, otherwise FALSE
(.F.) is returned.

Description
This function frees any memory or other resources associated
with the specified icon.

An application should not use the DestroyIcon() function on
any of the pre-defined system cursors (the IDI_* values in
WINDOWS.CH).  However, an application should be sure to
destroy any icons it created.

Example
DestroyIcon( hMyIcon )


See Also: CreateIcon() DrawIcon() LoadIcon()

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson