SetIconSmall method


Available for Window, MDIWindow and DialogBox objects.

Syntax

Invoke SetIconSmall, hWnd, hIconSmall

Function

Sets the IconSmall property for an object.

Parameters

hWnd

Handle to the object.

hIconSmall

A DD value specifying the new small icon for the object.

Return value

Eax returns TRUE if succesful, or FALSE if not.


REMARKS: The hIconSmall parameter may be an existing resource ID or the handle to an image (icon or cursor). First, Easy Code tries to load it as a resource (only if it is less than 65536) and, if it fails, then it is processed as a handle.