I need to change application icon in run-time.
Specifically: I run my Delphi application. From this running application I run (automation) MS Word. So I can control MS Word from my Delphi app. So two windows are running: My app. and MS Word. I need to be able to change the icons of MS Word window (icon in left-up corner of the window, taskbar icon..). But if the user starts MS Word independently (even if my app is running), it must have defaut icon of MS Word.
I think the way is Win API...
## Deliverables
Fragment code with comment...
## Platform
Win 98SE, (Win 2000), WinXP, + MS Office 97, 2000, XP