|
Having never seen Winamp, I am not sure what you want, but is this <clickety> what you are looking for?
CPUA 0x5041
Sonork 100.11743 Chicken Little
"So it can now be written in stone as a testament to humanities achievments "PJ did Pi at CP"." Colin Davies
Within you lies the power for good - Use it!
|
|
|
|
|
That's *sort of* what I mean, but I'm looking to rollup the whole app (so it's just like the Minimize or Close system buttons), instead of a just child window of a larger app.
PJ Arends wrote:
Having never seen Winamp
What do you use for mp3s then?? please don't say WMP7.
|
|
|
|
|
mp3s
I actually prefer talk radio. This <clickety> radio station is left on 24/7 in my house.;)
CPUA 0x5041
Sonork 100.11743 Chicken Little
"So it can now be written in stone as a testament to humanities achievments "PJ did Pi at CP"." Colin Davies
Within you lies the power for good - Use it!
|
|
|
|
|
From BC I take it? I call Victoria home, but right now I'm in a little town called Kitchener/Waterloo for a few more (hellish) years.
|
|
|
|
|
Atlantys wrote:
From BC I take it?
Abbotsford.
Atlantys wrote:
I call Victoria home, but right now I'm in a little town called Kitchener/Waterloo for a few more (hellish) years.
Oh man you gotta come back to lotusland, the weather is great
CPUA 0x5041
Sonork 100.11743 Chicken Little
"So it can now be written in stone as a testament to humanities achievments "PJ did Pi at CP"." Colin Davies
Within you lies the power for good - Use it!
|
|
|
|
|
I would think it could work if you used a dialog template for the minimized window, just remove the title bar. When your app is "minimized", just destroy your main window, and recreate your main window using your minimized dialog. Of course this would be a lot easier to implement if your main window is also a dialog;P.
If you want the window to visible shrink, you would have to use a timer and SetWindowPos().
CPUA 0x5041
Sonork 100.11743 Chicken Little
"So it can now be written in stone as a testament to humanities achievments "PJ did Pi at CP"." Colin Davies
Within you lies the power for good - Use it!
|
|
|
|
|
It can't be that hard. Why not use SetWindowPos( ) keeping the left and top coordinates the same and resize the height and/or width of the window?
|
|
|
|
|
BTW, I recently D/L'd Paint Shop Pro 7.0 and all of it's floating toolbar windows are rolled up that way but when you put the mouse over the caption or title, it restores itself to it's previous size. Cool!
|
|
|
|
|
That's what I was initially thinking, but that doesn't allow me to make the "rolled up" window have a different template. It'll just make the current window smaller, eh?
If you'll notice what they do in Winamp (sorry, only program I know that has this feature), when it is rolled up, the title bar changes and buttons are added. Which is what i'm going for.
The idea behind this is: the user can make the window as small as necessary without sacrificing the ability to use the more important functions (and Minimize makes the window disappear completely).
|
|
|
|
|
Yes, it will make it smaller but you can shrink it down to the title bar size only which is what you want, right? I think you need to set CS_OWNERDRAW and draw the title bar yourself if you want buttons. Search this site and others for examples.
|
|
|
|
|
Check this out:
http://codeguru.earthweb.com/buttonctrl/ccaptionbutton.html
http://codeguru.earthweb.com/dialog/custom_dialog_caption.shtml
and...
http://codeguru.earthweb.com/misc/wm_nclbuttonup.html
Good luck!
|
|
|
|
|
In winamp when the title bar is changing it is pulling bitmaps from either the default skin or from zip files containing the other skins (if you rename a skin file to .zip it will be unzippable). Same goes for the buttons and the rest of the graphics in winamp. I'm not sure what is done programatically to get them to draw over, but a few of the things mentioned looked like it could work.
I had a little fun doing a skin for winamp once so I learned about how they change the image. I hope that helps some.
Quinn
|
|
|
|
|
How can we read & write File Title.
This File Title is the one visible by Right Clicking the File Properties on the Windows Explorer & hitting the Summary Tab.
Thanks
Ganesh Agrawal
|
|
|
|
|
This info is usually only available for Microsoft Office documents (Word, Excel, PowerPoint). MSDN article HOWTO: Read Compound Document Properties Directly with VC++ provides a full working sample showing how to retrieve the information.
Joaquín M López Muñoz
Telefónica, Investigación y Desarrollo
|
|
|
|
|
Hi,
what is the best (and simpliest) way to communicate between processes ? One process is typical MFC application, the second is console service. So how can these two applications communicate ? It must run under W95/98/NT/2k/XP.
Thanks in advance. Standa.
Celebrate Mr. Cesilko!
|
|
|
|
|
|
How I could implements fast playing of wave file (for example 2x faster) by using waveOutXXX functions?
|
|
|
|
|
With <a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/multimed/mmfunc_6mhx.asp">waveOutSetPlaybackRate</a> ?
Joaquín M López Muñoz
Telefónica, Investigación y Desarrollo
|
|
|
|
|
please help me all step to create my button with own draw
thanks!!!
|
|
|
|
|
there are many owner drawn buttons on this site. look around and find one that looks good.
-c
To explain Donald Knuth's relevance to computing is like explaining Paul's relevance to the Catholic Church. He isn't God, he isn't the Son of God, but he was sent by God to explain God to the masses. /. #3848917
|
|
|
|
|
|
how can i insert contents in to the HELP of my sdi project.
looking forward from all the gurus of code
|
|
|
|
|
how can i add help feature in my sdi project
looking forward from all the gurus of code
|
|
|
|
|
you can use HTML Help Workshop (which you can download from Microsoft web site) to create the in-fashion *.chm help file. Then in your code, you can just use ::HtmlHelp(this->m_hWnd, helpname, 0, HH_DISPLAY_TOPIC); to display your help.
remember to link with htmlhelp.lib, and include <htmlhelp.h> in file "StdAfx.h".
|
|
|
|
|
hello!i want to code my own favorits administration program!it should look like the original favorits; a treeview on the left side of the ie window and an additional menu bar on the lower side of the window to administrate my favorits!this prggie is nearly written but i dont how to integrate this into the internet explorer!
i'll appreciate every answer!!!
|
|
|
|