Up

_SETwindowIcon Scol 6.x or above required

Set the window icon.

Prototype :

fun [ObjWin P] ObjWin

Return : ObjWin the same window object or nil if error

See also :

Example :

typeof win = ObjWin;;

fun main ()=
	_showconsole;
	set win = _CRwindow _channel nil 0 0 400 200 WN_NORMAL "Test icon window";
	_SETwindowIcon win _checkpack "tests/os2d/window/12/icon_1.bmp";
	...
	0;;