TIP: Click on subject to list as thread! ANSI
echo: os2prog
to: Tony Master
from: David Noon
date: 1999-01-18 22:48:10
subject: icons in VP/2

In a message dated 01-15-99, Tony Master said to All about "icons in VP/2"

Hi Tony,

TM>How do I implement icons in a .exe with VP/2?  I have v1.10

What do you mean by "implement"?

If you want to create an icon use ICONEDIT.EXE, supplied with OS/2, to
create the .ICO file.

You can then use RC.EXE, the PM Resource Compiler also supplied with OS/2,
to compile a resource script and bind it to an executable. You will need a
line something like

  ICON 1 "My_prog.ICO"

in your My_prog.RC file. The icon resource id. of 1 indicates the default
icon the WPS will use for any program reference objects you create for the
program.

You need to run RC.EXE twice: once to compile My_prog.RC into My_prog.RES;
and again to bind My_prog.RES to My_prog.EXE.

All of the above is "language neutral" advice. It should work with any
compiler for any language under OS/2.

Regards

Dave

___
 * MR/2 2.25 #353 * Mr. Gates, if that's a feature, I dread to see the bugs.

--- Maximus/2 3.01
* Origin: DoNoR/2,Woking UK (44-1483-717904) (2:440/4)
SEEN-BY: 396/1 632/0 371 633/260 262 267 270 371 635/444 506 728 639/252
SEEN-BY: 670/218
@PATH: 440/4 255/1 251/25 396/1 633/260 635/506 728 633/267

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.