[DUG] Resource compiler
John Bird
johnkbird at paradise.net.nz
Mon Dec 21 18:55:10 NZDT 2015
Thanks, I think I had seen that one in my searches but I was wary of both Sourceforge (used to be a great site) and that it only had 12 downloads.
Will try it.
From: Stefan Mueller
Sent: Monday, December 21, 2015 6:01 PM
To: 'NZ Borland Developers Group - Delphi List'
Subject: Re: [DUG] Resource compiler
I used this one here just recently (for embedding some transparent PNG-resources), did the job:
http://sourceforge.net/projects/xnreseditpe/
Kind regards,
Stefan Müller,
R&D Manager
ORCL Toolbox Ltd.
Auckland, New Zealand
P Please consider the environment before printing this email
This message is intended for the adresse named above and may contain privileged or confidential information.
If you are not the intended recipient of this message you must not use, copy, distribute or disclose it to anyone.
From: delphi-bounces at listserver.123.net.nz [mailto:delphi-bounces at listserver.123.net.nz] On Behalf Of Jolyon Direnko-Smith
Sent: Monday, 21 December 2015 5:32 p.m.
To: NZ Borland Developers Group - Delphi List
Subject: Re: [DUG] Resource compiler
Oops, download links on that page for reseditor appear not to go anywhere anymore. :(
On 21 December 2015 at 17:29, Jolyon Direnko-Smith <jsmith at deltics.co.nz> wrote:
You could use http://melander.dk/reseditor/
Or you can use any tool capable of creating/editing ICO files and simply write a resource script (*.rc) to incorporate the icons into a *.res file as required. Delphi will compile the *.rc file for you though I don't recall off-hand whether you declare it as {$R filename.rc} or {$R filename.res} (with the IDE picking up the RC file by association with the common stem in the filename) but I'm sure there is documentation somewhere that will clarify on that point.
Either way tho I would use a separate, dedicated and additional resource file rather than the one linked to the DPR filename (if you aren't already) to avoid the IDE trampling over it.
hth
On 21 December 2015 at 17:21, John Bird <johnkbird at paradise.net.nz> wrote:
D2007, and one of my oldest programs uses a resource file with a couple of icon images for the application and I want to add a couple more.
The Old Program used to have 2 states I showed via different taskbar icons, now it has 4.
Problem – I cannot recall how I originally edited the resource, and D2007 does not seem to have any tools to do it.
Resource was originally created at least 2 Delphi versions and 2-3 PCs ago and whatever I used I don’t have now.
I have also D10 Seattle in case it helps...
The alternative is to put the icons into an image list and use these to change the application icon, but I am not sure if the image list holds icons OK and if this works until I try it.
I know later Delphi such as Seattle has snazzy tools extensions around Application icon and toolbar buttons etc.
Any quick advice on the simplest and most painless way to do this would be appreciated.
_______________________________________________
NZ Borland Developers Group - Delphi mailing list
Post: delphi at listserver.123.net.nz
Admin: http://delphi.org.nz/mailman/listinfo/delphi
Unsubscribe: send an email to delphi-request at listserver.123.net.nz with Subject: unsubscribe
--------------------------------------------------------------------------------
_______________________________________________
NZ Borland Developers Group - Delphi mailing list
Post: delphi at listserver.123.net.nz
Admin: http://delphi.org.nz/mailman/listinfo/delphi
Unsubscribe: send an email to delphi-request at listserver.123.net.nz with Subject: unsubscribe
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://listserver.123.net.nz/pipermail/delphi/attachments/20151221/b354de37/attachment-0001.html
More information about the Delphi
mailing list