SETICON

Top  Previous  Next

Syntax

SETICON(win as WINDOW,handle as UINT)

Description

Sets the icon for the window or dialog.

Parameters

win - Window or dialog.

handle - Handle of new icon returned by the LOADIMAGE function.

Return value

None

Remarks

See Also: LOADIMAGE

Example usage

hIcon = LOADIMAGE( "c:\\images\\prog.ico", @IMGICON)
SETICON mywindow, hIcon