Re: Setting the windows icon
- Posted by Brian Broker <bkb at CNW.COM> Oct 03, 2000
- 334 views
On Wed, 4 Oct 2000 00:05:20 +0200, Ad Rienks wrote: >Hello, > >As there are so many new features in Win32Lib now, and because I have been 'away' from Euphoria programming for a while now, I am beginning again by asking a question that might be found be reading the documentation, but it's huge by now and I don't know were to start looking. >My question concerns the use of a self-defined icon, to place in the Windows 'sysmenu' (upper left corner) I tried the following, but I got a Win32Lib error 'getHandle failed'. Try this: ------------------------------ include Win32Lib.ew constant Win = create(Window, "Test Icon", 0, 220, 60, 360, 480, 0) setIcon( Win, "1083.ico" ) WinMain(Win, Normal) ------------------------------ -- Brian