|
-
January 9th, 2007, 09:08 AM
#1
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?
-
January 9th, 2007, 09:11 AM
#2
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?
-
January 9th, 2007, 09:17 AM
#3
Re: Wrapper class to do minimize to tray and small minus minimize button
 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.
-
January 9th, 2007, 09:22 AM
#4
Re: Wrapper class to do minimize to tray and small minus minimize button
-
January 9th, 2007, 09:29 AM
#5
Re: Wrapper class to do minimize to tray and small minus minimize button
 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.
-
January 9th, 2007, 09:58 AM
#6
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.
-
January 9th, 2007, 10:42 AM
#7
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.
-
January 9th, 2007, 10:46 AM
#8
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?
-
January 9th, 2007, 10:54 AM
#9
Re: Wrapper class to do minimize to tray and small minus minimize button
-
January 9th, 2007, 11:17 AM
#10
Re: Wrapper class to do minimize to tray and small minus minimize button
-
January 9th, 2007, 03:04 PM
#11
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
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|