From: | David McMinn |
Date: | 10 May 2001 at 10:26:36 |
Subject: | Re: Could anyone write this program |
Hi Nick
> What I want to do is put the individual meters into the icons of the
> drives (OS 3.5+ only), I got the idea from the mac version of internet
> explorer 4, It puts a small meter in the icons for files it's downloading.
IIRC this was about the second program to come out which supported
altering OS3.5 programs, not sure what it is, but it's on Aminet
somewhere.
> If anyone knows how to copy a coloricon image into a bitmap so I can
> modify it, then write it back, please let me know.
Use icon.library v44. The principle is the same as with normal icons, and
I'm sure there's been code posted here before to do that. In fact, you
could have a look at the "newicons in blitz" code, I think it does that.
> I also need to know how to notify dopus magellan II that the icon has
> changed.
Use workbench.library v44 for that :) I think DOpus will have some sort
of emulation, where it will recognise those calls. I only briefly looked
at this before, but when you draw an icon (or was it appicon?) you can
specify a hook to be called every time the icon needs to be updated. The
OS then calls this hook to update the icon.
I can't remember how you make your program cause an update though.
---------------------------------------------------------------------
To unsubscribe, e-mail: blitz-list/-unsubscribe@netsoc.ucd.ie
For additional commands, e-mail: blitz-list/-help@netsoc.ucd.ie