So let's say I'm making a openGL application, and when you minimize it I want it to dock to the system tray, how would I do this? Any help appreciated, thanks in advance.
edit: also, how would I be able to get the application to launch on windows startup, then automatically dock to the systray?