I'm looking for a wrapper class that can do minimize to tray and add the small minus minimize button on the top left corner of an application.

I’ve seen code for adding logic to minimize to tray, but I haven’t found any code that can add the small minimize button. For anyone familiar with Kazaa Lite, the minimize button I’m looking for is the one seen on the right upper corner of Kazaa Lite. I’ve seen it on a few other applications, but I don’t remember their names.

Does anyone have any good links for this?