Adding a fourth button to the close, restore minimise buttons
Posted on 2007-03-28
I would like to add a button to the close, restore, minimise buttons that are on windows forms. I have seen this done with AllAPI, which I sure many of you know (if not, let me know, I will post it somewhere for you to download, its an awesome api viewer with examples, etc).
They have a fourth button, which, when clicked, makes the application invisible and puts an icon in the system tray which you can click to make the app visible again.
I already have the code to do the system tray stuff, I just need some help with adding a button. I don't want to use the minimise button as some apps do, because my clients may well want to minimise the app in the traditional way too.