So, I am trying to write my first plugin for foobar2000 - something that would snap the main window to the edge of the screen, when the window is, let's say, 10 pixels away from the edge.
I would like to get information about position and size of foobar2000's main window, whenever it is being moved or resized. I think this should work like processing WM_SIZING (or WM_MOVING) message in normal Win32 application, but I really don't know how to get this message in my plugin? (actually, I don't think it is possible that way)
Any hints on how could I get that sort of information?
PS. Oh, and many thanks to foosion for his 'Plugin development tutorial' - it made a lot of things really easier to understand!