Re: Search Tip for Newbies

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

> From: Theo Gottwald

> PS: I am just looking if there is an easy way to change the
> EUPHORIA-Icon
> after the Program is "compiled" to an ".exe".
> Not the runtime-Icon, the Icon for a file. Any new idea's ?


There are two ways to interpret this request.  A bound program, or a
translated and compiled program.  Check out bind.doc (which comes with Eu).
Look at the options for binding, and you'll find:

-icon filename[.ico] - When you bind a program, you can patch in your own
customized icon, overwriting the one in exw.exe. exw.exe contains a 32x32
icon using 256 colors. It resembles an E) shape. Windows will display this
shape beside exw.exe, and beside your bound program, in file listings. You
can also load this icon as a resource, using the name "exw" (see
euphoria\demo\win32\window.exw for an example). When you bind your program,
you can substitute your own 32x32 256-color icon file of size 2238 bytes or
less. Other dimensions may also work as long as the file is 2238 bytes or
less. The file must contain a single icon image (Windows will create a
smaller or larger image as necessary). The default E) icon file,
euphoria.ico, is included in the Complete Edition. You can bind it, or
distribute it separately, with or without your changes.

As for a translated and compiled, I believe someone figured this out
recently, and posted the solution, which involves creating a resource for
the program.  You should be able to find it fairly easily searching the list
archives.

Matt Lewis
http://www.realftp.com/matthewlewis

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

Search



Quick Links

User menu

Not signed in.

Misc Menu