I am planning to make a simple program that can override the function keys whilst in focus (opened) and when minimsed. Could you suggest some code to how I can achieve this? Also, how can I, when minimised, make the program minimse into the system tray instead of the standard big one (what ever it's called :S)? Thanks for any help.