Hi Richard,
That's how I started. Have you tried it? Here's whats funny....
After the app has been minimized (at least once) then the icon never changes again..
Try it and let me know..
Thanks, Ian C.
Main Topics
Browse All TopicsHow do I change the icon that shows when an app is minimized? I want the app to change its own icon while it is running (minimized) whenever an event occurs. The Application.Icon property sure looks like the obviuos, but it only seems to work if the app has never been minimized. If the app has ever been minimized, it has no effect thereafter.
For example, want I want to do is show when mail has arrived by changing the app's minimized icon.
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
It's a 16 bit app and it must run on both Win95 and Win3.1 workstations. On a 3.1 workstation, it almost works but you have to invalidate the screen icon by covering it up and then uncovering it to see the new icon. I want the icon that represents the minimized application to change. If you think you got something, I would sure like to see it!
Thanks again,
Ian C.
I really appreciate your quick response. The answer is yes and no. It worked like a champ on a 16 bit (Win3.1) workstation. It didn't work on the Win95 workstation. Same problem... once an app has been minimized, its minimized icon never changes again. You can see the icon changing in the Alt+Tab sequence etc.. but not in the minimized icon. I'm gonna give you a 'C' for your effort but I still need a Win95 solution.
Ian C.
Business Accounts
Answer for Membership
by: richweedPosted on 1997-06-03 at 09:55:31ID: 1336781
Try the following code for animating an icon:
TObject); ile('c:\tr ansfer\shi pping.ico' ) ile('c:\tr ansfer\sky line.ico') ;
Create a timer control on the form.
place the following code in the timer event:
procedure TForm1.Timer1Timer(Sender:
begin
if x = 0 then application.icon.loadfromf
else application.icon.loadfromf
x := not x;
end;
Don't forget to declare x : integer in the global var section.
There are more elegant ways to do this, but this should get you going - Add a comment if you need more help or if you want to do more frames.
Cheers
Richard