Skip to main content

Notice

Please note that most of the software linked on this forum is likely to be safe to use. If you are unsure, feel free to ask in the relevant topics, or send a private message to an administrator or moderator. To help curb the problems of false positives, or in the event that you do find actual malware, you can contribute through the article linked here.
Topic: Suggestion: Option to completely hide foobar (Read 6866 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

Suggestion: Option to completely hide foobar

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.

Suggestion: Option to completely hide foobar

Reply #1
/nogui
(it really does what it says, you have been warned)
Microsoft Windows: We can't script here, this is bat country.

Suggestion: Option to completely hide foobar

Reply #2
Quote
/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.

Suggestion: Option to completely hide foobar

Reply #3
Hiding the taskbar button would be a nice feature, I agree.

-Scott

Suggestion: Option to completely hide foobar

Reply #4
Quote
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.
Microsoft Windows: We can't script here, this is bat country.

Suggestion: Option to completely hide foobar

Reply #5
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

Suggestion: Option to completely hide foobar

Reply #6
Quote
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.
Microsoft Windows: We can't script here, this is bat country.

Suggestion: Option to completely hide foobar

Reply #7
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

Suggestion: Option to completely hide foobar

Reply #8
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

Suggestion: Option to completely hide foobar

Reply #9
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.

Suggestion: Option to completely hide foobar

Reply #10
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

Suggestion: Option to completely hide foobar

Reply #11
Quote
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?

Suggestion: Option to completely hide foobar

Reply #12
Quote
Quote
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.

Suggestion: Option to completely hide foobar

Reply #13
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

Suggestion: Option to completely hide foobar

Reply #14
Quote
Quote
Quote
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.

Suggestion: Option to completely hide foobar

Reply #15
You can't set a taskbar button to be hidden as a feature of winxp.

Suggestion: Option to completely hide foobar

Reply #16
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).

Suggestion: Option to completely hide foobar

Reply #17
I think If foobar wasnt on the taskbar or system tray you would lose it, no?

Suggestion: Option to completely hide foobar

Reply #18
Quote
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.

Suggestion: Option to completely hide foobar

Reply #19
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).
Microsoft Windows: We can't script here, this is bat country.

Suggestion: Option to completely hide foobar

Reply #20
Quote
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

Suggestion: Option to completely hide foobar

Reply #21
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.