SetIconSmall method
Available for Window, MDIWindow and DialogBox objects.
Prototype
SetIconSmall Proto hWnd:HWND, hIconSmall:DWord
Syntax
Invoke SetIconSmall, hWnd, hIconSmall
Function
Sets the IconSmall property for an object.
Parameters
hWnd
Handle to the object.
hIconSmall
A DWord 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.