Re: Setting the windows icon (and maybe TabItem icons too?)

new topic     » topic index » view thread      » older message » newer message

Wow, thanks Brian,

I did not realize that the 'modern' version of Win32Lib makes it that easy
to replace the icon! And while I'm at it now, do you know if there is a way
to replace the text on a TabItem with an icon too?

Well, thanks a lot,    Ad

----- Oorspronkelijk bericht -----
Van: Brian Broker <bkb at CNW.COM>
Aan: <EUPHORIA at LISTSERV.MUOHIO.EDU>
Verzonden: woensdag 4 oktober 2000 1:07
Onderwerp: Re: Setting the windows icon


> 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

new topic     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu