1. RE: Icon Display?

Hi,

By using the binder with the option "-icon filename.ico" with the 
complete edition of Euphoria.

You can't change the icon of a single "non-bound" program.

You can change the icons for all program with a suffix .exw from 
within explorer.

Using the tranlator you can add an icon to a resource file.

Ray Smith
http://rays-web.com




Jonathan Carter wrote:
> Alright, lets say, I wanted to make my icon different (you know, the one 
> 
> where it shows your program, and you double click on it to open it.)  
> How can I make that different from within the program?

new topic     » topic index » view message » categorize

2. RE: Icon Display?

Ray Smith wrote:
> 
> Using the tranlator you can add an icon to a resource file.
> 

How do you do that?  (Attach an icon to a program made with the 
translator.)

new topic     » goto parent     » topic index » view message » categorize

3. RE: Icon Display?

Andy Serpa wrote:
> 
> Ray Smith wrote:
> > 
> > Using the tranlator you can add an icon to a resource file.
> > 
> 
> How do you do that?  (Attach an icon to a program made with the 
> translator.)


A quick (actually it took a little while to find it) search of the
archives found that I asked this exact same question back in Oct 2000!

The answer is however you would do it if you where programming in C
for your compiler.

See below for quick instructions for using LccWin (other compilers 
are probably similiar):

-----------
1. put this in *.rc:

500 ICON MOVEABLE PURE LOADONCALL DISCARDABLE "whatever.ico"

(I use 500 here but any number will do, as long as it isn't used by 
another
resource)

2. compile the resource-file with rc.exe (or maybe it's lrc.exe)

3. include the .res file on the commmandline when you link your program.
-----------

I haven't used the LccWin compiler for a long time.

I hope this helps.


Ray Smith
http://rays-web.com

new topic     » goto parent     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu