Wrapper class to do minimize to tray and small minus minimize button
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?
Re: Wrapper class to do minimize to tray and small minus minimize button
Are you looking for MFC based classes?
I don't know what you mean by the minimise button. My copy of kazaa lite has a normal windows minimise button next to the maximise button. Can you explain?
Re: Wrapper class to do minimize to tray and small minus minimize button
Quote:
Originally Posted by Mark Xa
Are you looking for MFC based classes?
I don't know what you mean by the minimise button. My copy of kazaa lite has a normal windows minimise button next to the maximise button. Can you explain?
I prefer MFC, but I can use non-MFC, and adapt the code.
Do you have Kazaa or Kazaa Lite.
Regular Kazaa does not have the small minimize button.
Kazaa lite has a small minimize button that looks like it has a minize sign.
The regular minimize button looks like it has an underscore.
I just looked at my version of Kazaa Lite, and I realize I have Kazaa Lite Revolution.
I'm not sure if that feature is only in that version.
Re: Wrapper class to do minimize to tray and small minus minimize button
Re: Wrapper class to do minimize to tray and small minus minimize button
Quote:
Originally Posted by Mark Xa
I looked at that before I posted this question, and it doesn't have the key item I'm looking for, which is the small minimize button logic.
Re: Wrapper class to do minimize to tray and small minus minimize button
You will have to do the small minimise button separately.
I guess you can create a normal button with CreateWindow and move it into the title bar. I have never tried this however.
By the way, in Visual Studio 2005, what's the method to add a message handler to the message map if you are using MFC? Is the class wizard now redundant? It's been a long time since I have gone near MFC.
Re: Wrapper class to do minimize to tray and small minus minimize button
I found the following link:
http://www.codeproject.com/buttonctr...tionButton.asp
It seems to have the code I need to do this, but I would still prefer some code that has both minimize tray logic, and smal mimimize button logic.
Re: Wrapper class to do minimize to tray and small minus minimize button
Well, can you show us how looks that cool Kazaa Lite button?
Re: Wrapper class to do minimize to tray and small minus minimize button
Re: Wrapper class to do minimize to tray and small minus minimize button
Re: Wrapper class to do minimize to tray and small minus minimize button
You can add buttons to the non-client area directly by using a hook:
See here for an example:
http://www.codeproject.com/shell/iconizer.asp