These instructions are for a program called skype, but should work on most programs.
From:
1. Exit or quit from program.
2. Right click on [program] icon on Desktop or [program] shortcut in Start Menu, and select Properties.
3. Go to Compatibility tab.
4. Under “Compatibility Mode’ section, check and tick the checkbox for Run this program in compatibility mode for: option.
5. In the below drop-down box, select Windows Vista (Service Pack 2).
6. Click OK.
7. Start the program, and now it should minimize to system tray.