IPB

Welcome Guest ( Log In | Register )

> foobar2000 General Forum Rules

This is NOT a tech support forum.
Tech support questions go to foobar2000 Tech Support forum instead.

See also: Hydrogenaudio Terms of Service.

2 Pages V  < 1 2  
Reply to this topicStart new topic
foobar2000, why use?
Messer
post Apr 15 2003, 20:28
Post #26





Group: Members
Posts: 568
Joined: 6-May 02
From: Warsaw / Poland
Member No.: 1977



I agree about floating windows, but perhaps they could stick to foobar's main window? Just like log window in burnatonce or dvddecrypter...
Go to the top of the page
+Quote Post
Curi0us_George
post Apr 15 2003, 20:34
Post #27





Group: Members
Posts: 992
Joined: 17-March 03
Member No.: 5544



I don't have any clue how you would make a Foobar2000 plugin window "snap" to the main window. Unless there's some way to recieve messages from the main window when it moves, it's not possible.
Go to the top of the page
+Quote Post
Messer
post Apr 15 2003, 20:46
Post #28





Group: Members
Posts: 568
Joined: 6-May 02
From: Warsaw / Poland
Member No.: 1977



QUOTE (Curi0us_George @ Apr 15 2003 - 08:34 PM)
I don't have any clue how you would make a Foobar2000 plugin window "snap" to the main window.  Unless there's some way to recieve messages from the main window when it moves, it's not possible.

I mean that this could be another service in foobar (or part of modeless_dialog.c), which allows windows to register as "sticky" and main thread takes care about informing registered windows about main window movements, or something smile.gif But that's rather "bells and whistles" kind of feature biggrin.gif
Go to the top of the page
+Quote Post
RIV@NVX
post Apr 15 2003, 20:58
Post #29





Group: Members
Posts: 574
Joined: 15-December 02
From: Rijeka, Croatia
Member No.: 4090



QUOTE (Curi0us_George @ Apr 15 2003 - 11:34 AM)
I don't have any clue how you would make a Foobar2000 plugin window "snap" to the main window.  Unless there's some way to recieve messages from the main window when it moves, it's not possible.

It would be a hack, which isn't allowed.
Go to the top of the page
+Quote Post
Curi0us_George
post Apr 15 2003, 21:25
Post #30





Group: Members
Posts: 992
Joined: 17-March 03
Member No.: 5544



If Windows provides a valid way to be notified when a window is moved, then it's not a hack.

But replacing the windows procedure would, of course, be a hack. I've done that to change the shuffle behavior (or rather, to add a new shuffle toggle to the menu, and to recieve messages when it's clicked), but it's a cheap hack.

Messer, I would indeed like to see something like that added to the SDK.
Go to the top of the page
+Quote Post
MaxAuthority
post Apr 15 2003, 21:41
Post #31





Group: Members
Posts: 32
Joined: 17-March 03
Member No.: 5554



QUOTE (RIV@NVX @ Apr 15 2003 - 11:58 AM)
QUOTE (Curi0us_George @ Apr 15 2003 - 11:34 AM)
I don't have any clue how you would make a Foobar2000 plugin window "snap" to the main window.  Unless there's some way to recieve messages from the main window when it moves, it's not possible.

It would be a hack, which isn't allowed.

why aren't "hacks" not allowed?
Ok, I heared that zZzZzZz doesn't like such things, but since the WinAPI provides functions for doing such things, why is it bad to use them to improve a program even further?
If I would program a plugin and offer it to the public AND say that it could make foobar2000 unstable because of some rather low level system function and the downloader of the plugin accepts this, why is it still forbidden?
Go to the top of the page
+Quote Post
Curi0us_George
post Apr 15 2003, 22:48
Post #32





Group: Members
Posts: 992
Joined: 17-March 03
Member No.: 5544



Because then people would use it and bitch at Peter when it screwed up their systems. Using WINAPI functionality is legal (and necessary) in a plugin. It's just not acceptable to do things which are likely to break in future versions.
Go to the top of the page
+Quote Post
superdumprob
post Apr 16 2003, 00:27
Post #33





Group: Members
Posts: 212
Joined: 30-March 03
Member No.: 5752



QUOTE
If I recall correctly, Peter once mentioned that he missed crossfading as well, so it's possible that he might add it at some point in the future. (Probably not this week, though smile.gif)

Something like this would probably need to be implemented in the actual output plugin, though, so I don't think we'll be seeing a quick drop-in plugin to do it for us.


Awesome! biggrin.gif It just mading seeking sound so much smoother. Of course a toolbar with a seek bar on would be useful for that but I can only hope.... smile.gif

Keep smiling people, I'm sure there's a link between happiness and longevity. smile.gif


--------------------
superdumprob
____________________________________________

"If we knew what it was we were doing, it would not be called research, would it?" - Albert Einstein
Go to the top of the page
+Quote Post
LPTB
post Apr 16 2003, 00:49
Post #34





Group: Members
Posts: 133
Joined: 10-April 03
Member No.: 5913



QUOTE
Keep smiling people, I'm sure there's a link between happiness and longevity.

As well as cats and this forum.... behold another mystery!!
Go to the top of the page
+Quote Post
sleepbag
post Apr 16 2003, 03:29
Post #35





Group: Members
Posts: 2
Joined: 16-April 03
Member No.: 5998



tongue.gif
Go to the top of the page
+Quote Post
superdumprob
post Apr 16 2003, 10:07
Post #36





Group: Members
Posts: 212
Joined: 30-March 03
Member No.: 5752



What can I say? I like cats. It was a picture of Homer briefly but I found a nice picture of a kitten so I went for that instead. If I can get a good picture of my cat then she'll go up on here... smile.gif


--------------------
superdumprob
____________________________________________

"If we knew what it was we were doing, it would not be called research, would it?" - Albert Einstein
Go to the top of the page
+Quote Post
foosion
post Apr 16 2003, 11:26
Post #37





Group: FB2K Moderator (Donating)
Posts: 4219
Joined: 24-February 03
Member No.: 5153



QUOTE (Curi0us_George @ Apr 15 2003 - 09:20 PM)
I don't actually like floating windows.  smile.gif  If I was going to use it constantly, I'd want it to be part of the main Window.  (I think it might be possible to do this, actually, but I'd have to look into the other UIs in the SDK to know for sure).

That's the problem with foo_stfu. I admit I don't really need to seek that often, and using keyboard shortcuts is so much easier smile.gif

EDIT: Oops, I should've read the whole thread. I would have seen that floating windows have been discussed in more detail tongue.gif

MaxAuthority: Hacks are evil, because they rely on certain features of the main application, which could be changed by Peter without changing the API (and without notice). You could also have a different application loading a fb2k plugin, only the official API would be usable then.

This post has been edited by foosion: Apr 16 2003, 11:35


--------------------
http://foosion.foobar2000.org/ - my components for foobar2000
Go to the top of the page
+Quote Post
jamieo
post Apr 17 2003, 19:09
Post #38





Group: Members
Posts: 52
Joined: 6-August 02
Member No.: 2956



QUOTE (Curi0us_George @ Apr 15 2003 - 07:34 PM)
I don't have any clue how you would make a Foobar2000 plugin window "snap" to the main window.  Unless there's some way to recieve messages from the main window when it moves, it's not possible.

Yup, that is how you do it! smile.gif

Subclass the main window and then add code to move your other windows depending upon the message you recieve.

P.S. Off the top of my head I think "WM_MOVE" is the message you are interested in...

Jamie
Go to the top of the page
+Quote Post
DjDSoft
post Apr 17 2003, 19:32
Post #39





Group: Members
Posts: 10
Joined: 1-April 03
Member No.: 5778



QUOTE
That's not entirely true. I'm pretty sure that Peter could implement a list-view using custom strings for each of the columns, and even allow adding and removing arbitrary columns. I don't see it happening, though. It would probably be a lot of work, and not really worth the time.

I thing playlist must be playlist ! smile.gif Strings functionality is
enought (i want only integrated 'presets' of them smile.gif)
But this list view must be in media library, there it will be very
useful. MediaLibrary must contains presets, playlists (and drug&drup
between MediaLibrary and main playlist), search engine (i have only it
smile.gif), use masstagger and other functions that support playlist.

And, if main playlist will be support custom objects from other
plugins (like chekboxes for repeat, for crossfading and e.t.c.), it
will be very useful thing.

QUOTE
avanced maastagger: yes, no

yes, yes
but winamp2.9 masstagger support only ID3v1/2, not APE tags

QUOTE
I don't actually like floating windows.  If I was going to use it constantly, I'd want it to be part of the main Window.

I'm too smile.gif
Go to the top of the page
+Quote Post
Curi0us_George
post Apr 17 2003, 20:30
Post #40





Group: Members
Posts: 992
Joined: 17-March 03
Member No.: 5544



QUOTE (jamieo @ Apr 17 2003 - 10:09 AM)
QUOTE (Curi0us_George @ Apr 15 2003 - 07:34 PM)
I don't have any clue how you would make a Foobar2000 plugin window "snap" to the main window.  Unless there's some way to recieve messages from the main window when it moves, it's not possible.

Yup, that is how you do it! smile.gif

Subclass the main window and then add code to move your other windows depending upon the message you recieve.

P.S. Off the top of my head I think "WM_MOVE" is the message you are interested in...

Jamie

I'm pretty sure that Peter would consider that a hack. In addition, it doesn't work properly. I've tried subclassing the Window for other reasons, and it seems rather selective about which messages actually make it through. (WM_COMMAND never makes it through if you subclass in an initquit instance, though if you wait until later it can subclass with no problems)

edit: If spying on resize messages is all you do, Peter might not consider it a hack, because that functionality won't change in future released. I'm not sure if it would work properly, though, based on the aforementioned "missing message" behavior.

This post has been edited by Curi0us_George: Apr 17 2003, 20:40
Go to the top of the page
+Quote Post
Melomane
post Apr 17 2003, 21:39
Post #41





Group: Members
Posts: 640
Joined: 13-January 03
From: Marseille
Member No.: 4552



QUOTE (DjDSoft @ Apr 17 2003 - 10:32 AM)
QUOTE

avanced maastagger: yes, no

yes, yes
but winamp2.9 masstagger support only ID3v1/2, not APE tags

have you used masstagger of foobar?

it is a Ferrari , "masstagger " of winamp has only the name of masstagger...


--------------------
Music is my first love.
Go to the top of the page
+Quote Post
jamieo
post Apr 18 2003, 16:06
Post #42





Group: Members
Posts: 52
Joined: 6-August 02
Member No.: 2956



QUOTE (Curi0us_George @ Apr 17 2003 - 07:30 PM)
I'm pretty sure that Peter would consider that a hack.  In addition, it doesn't work properly.

Hmm, it's no hack since it is part of the Windows API. Also, it's known to work since this is exactly how burnatonce does it.

You don't have to use this information, I was just trying to be helpful - I've never even used foobar...

Jamie
Go to the top of the page
+Quote Post
Curi0us_George
post Apr 18 2003, 19:03
Post #43





Group: Members
Posts: 992
Joined: 17-March 03
Member No.: 5544



QUOTE (jamieo @ Apr 18 2003 - 07:06 AM)
Hmm, it's no hack since it is part of the Windows API.  Also, it's known to work since this is exactly how burnatonce does it.

Well, there are a lot of things that the Windows API allows that are just hacks. smile.gif But like I said, this case shouldn't (wouldn't?) be considered a hack.

QUOTE
You don't have to use this information, I was just trying to be helpful - I've never even used foobar...

Blasphemy! smile.gif
Go to the top of the page
+Quote Post
TurinsRevenge
post Apr 21 2003, 19:25
Post #44





Group: Members
Posts: 131
Joined: 19-February 03
Member No.: 5074



Speaking of Cats, Dogz Rule! As you can see, cats can be extremely dangerous Cat Danger


--------------------
Master of Fate. By Fate Mastered
Go to the top of the page
+Quote Post

2 Pages V  < 1 2
Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 21st May 2013 - 05:09