Mike Giacomelli
Aug 19 2003, 20:43
This would be pretty cool. With hotkeys theres really no need for an icon. Failing that one could just hit the foobar2000.exe file again to bring up the GUI.
/nogui
(it really does what it says, you have been warned)
QUOTE(zZzZzZz @ Aug 20 2003, 05:46 AM)
/nogui
(it really does what it says, you have been warned)
I believe he wanted to get an option for hiding the taskbar-icon of foobar.
sdbarker
Aug 20 2003, 09:18
Hiding the taskbar button would be a nice feature, I agree.
-Scott
QUOTE(sdbarker @ Aug 20 2003, 06:18 PM)
Hiding the taskbar button would be a nice feature, I agree.
-Scott
I'll have a look at it later today, not sure how other programs do it and if it would work nicely under fb2k.
sdbarker
Aug 20 2003, 10:24
I've got a source snippet at home for doing it, somewhere. I can try and dig it up when I get home from work, if you'd like. If I recall correctly, it has something to do with faking the WS_EX_TOOLWINDOW style.
-Scott
QUOTE(sdbarker @ Aug 20 2003, 07:24 PM)
I've got a source snippet at home for doing it, somewhere. I can try and dig it up when I get home from work, if you'd like. If I recall correctly, it has something to do with faking the WS_EX_TOOLWINDOW style.
-Scott
That's about what I thought, but I'm not entirely sure if it would behave in fb2k (as in, it could change appearance of main window, and we don't want that).
I'll have a look at it later today.
sdbarker
Aug 20 2003, 13:46
Yeah, that's why you have to fake it, because just giving it WS_EX_TOOLWINDOW would be bad. I think you have to give it WS_EX_APPWINDOW too, maybe. I wish I could remember. Rage.
I'll figure out when I get home.
-Scott
sdbarker
Aug 20 2003, 13:55
Talking to my roomate, WS_CHILD gives the same effect. If you have to give the window a parent, it's probably safe to use the handle returned from GetDesktopWindow.
-Scott
picmixer
Aug 20 2003, 15:28
Completely different approach. In case you are running Win2000, XP you could always choose an entirely transparent custom icon as sys tray icon (0.7betas).
Not exactly the most elegant solution since it will still theoretically be there and maybe resize your sys tray occassionally, but it might do what you are looking for.
Just an Idea.

EDIT:
Oh yes and in WinXP at least you can set the preferences of the differen't Sys Tray Icons to either, always show, hide when inactive and always hide. Am not sure about other Windows versions. Guess you could always combine that with the transparency thing.
sdbarker
Aug 20 2003, 22:56
Alright, well, I can't find my source snippet. I think I need to organize all my code stuff.
and, we're not talking about the systray icons. But the taskbar button.
-Scott
picmixer
Aug 21 2003, 03:58
QUOTE(sdbarker @ Aug 21 2003, 06:56 AM)
and, we're not talking about the systray icons. But the taskbar button.
Well then simply use minimize to system tray, and then the taskbar button should dissapear when minimized, right?
QUOTE(picmixer @ Aug 21 2003, 12:58 PM)
QUOTE(sdbarker @ Aug 21 2003, 06:56 AM)
and, we're not talking about the systray icons. But the taskbar button.
Well then simply use minimize to system tray, and then the taskbar button should dissapear when minimized, right?
But some people just don't want another taskbar button, not even when the program is not minimized.
sdbarker
Aug 21 2003, 09:04
Exactly. I have fb2k showing all the time, on my rightmost monitor, and because i know its there, and I can see it, I don't need the taskbar clutter to tell me it's there.
-Scott
picmixer
Aug 21 2003, 14:03
QUOTE(anza @ Aug 21 2003, 04:19 PM)
QUOTE(picmixer @ Aug 21 2003, 12:58 PM)
QUOTE(sdbarker @ Aug 21 2003, 06:56 AM)
and, we're not talking about the systray icons. But the taskbar button.
Well then simply use minimize to system tray, and then the taskbar button should dissapear when minimized, right?
But some people just don't want another taskbar button, not even when the program is not minimized.
Can completely understand that. Actually meant to then set the taskbar icon either to always hide, pick an invisible one, or both.
As I said it might not be the most elegant, but it might be a temporary workaround to achieve that. (very much of a workaround)
Of course it would be way nicer in case it would be directly implemented.
sdbarker
Aug 21 2003, 15:29
You can't set a taskbar button to be hidden as a feature of winxp.
picmixer
Aug 21 2003, 15:46
Start button - (right click)properties - Taskbar - Notification Area - customize etc.
And yes, obviously in case you will click that little arrow to show all icons it will also show the hidden one. No way to get around that (except choosing a transparent icon, and then also when you click the right arrow the notification area will be slightly larger then it would as if it would not be there in the first place).
diskreet
Aug 22 2003, 08:47
I think If foobar wasnt on the taskbar or system tray you would lose it, no?
QUOTE(diskreet @ Aug 22 2003, 03:47 PM)
I think If foobar wasnt on the taskbar or system tray you would lose it, no?
You don't need to know if it's running if it's
always running.
Still can't figure civilized way to hide main window from taskbar. Possibly the way Winamp does it won't work because its main window fully uses custom painting (so certain weird hacks don't have user-noticeable side effects).
sdbarker
Aug 23 2003, 10:42
QUOTE(picmixer @ Aug 21 2003, 01:46 PM)
Start button - (right click)properties - Taskbar - Notification Area - customize etc.
And yes, obviously in case you will click that little arrow to show all icons it will also show the hidden one. No way to get around that (except choosing a transparent icon, and then also when you click the right arrow the notification area will be slightly larger then it would as if it would not be there in the first place).
Look, I don't know if you're just not really reading what I'm typing, or what.
Taskbar buttons are NOT system tray icons. That's the entire point of this feature request. No taskbar button, but to have foobar visible.
-Scott
picmixer
Aug 23 2003, 10:48
There will be no taskbar button when you minimize to systray. Read the whole thread and see for yourself.
EDIT:
Or to summarize: minimize to systray, always hide sytray icon, leads to Fooabar2000 is not on your screen anymore.
The fact that there is a taskbar button when it is maximized is still there, but the originator of the thread wanted an option to completely hide Foobar, meaning we can assume it is minimized.
Also if you would have read my posts more patiently you could have probably seen that I am completely aware of the limitations of this slightly dirty workaround.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please
click here.