Old 5th December 2010, 02:42   #1
Brendanmc6
Junior Member
 
Join Date: Dec 2010
Posts: 1
A Quick Winamp and Windows 7 Question

Is it possible to enable Windows 7 Aero Snap functionality for the Winamp window? I love being able to drag all of my windows to the left/ right and split the screen in half in a matter of seconds, or drag to the top to expand to full screen. This would be incredibly useful for me to do with Winamp as well, but for some reason it doesn't work. I have looked around in the settings and haven't found anything relevant. Maybe someone has made a plugin or something?

Just installed 5.6 and still doesn't work.

Thanks!

p.s. iTunes does it :P
Brendanmc6 is offline   Reply With Quote
Old 5th December 2010, 11:21   #2
JonnyMac
Moderator
 
JonnyMac's Avatar
 
Join Date: Dec 2000
Posts: 14,385
AFAIK, snap can not be implemented with Winamp. At least not easily. Winamp is over 10 years old and implementing snap may require some rework of the code which in turn could cause compatibility issues.

Please do not PM me for tech support. Any request for tech support through PM will be ignored.
Read the Stickies
---> | | | | <--- Knowledge is power
JonnyMac is offline   Reply With Quote
Old 9th June 2012, 13:09   #3
John Peterson
Junior Member
 
Join Date: May 2012
Posts: 1
The problem is the custom window border. Fixing this issue will approximately require 20 changed lines and take 1 hour. If you open source the program I can assign this issue to me and fix it.

This is what the window looks like unsnapped and snapped when applying
code:
SetWindowLong(hWnd, GWL_STYLE, WS_VISIBLE|WS_OVERLAPPEDWINDOW);
to the window (because snap require WS_THICKFRAME|WS_MAXIMIZEBOX). The program is not usable because the rendering in the Winamp Gen:Winamp Library window is broken.

Other custom window border programs (for example FL Studio) hasn't been updated for Windows 6.1 either. Some custom window border programs has been updated though (for example VS 11).
John Peterson is offline   Reply With Quote
Old 9th June 2012, 15:44   #4
DrO
 
Join Date: Sep 2003
Posts: 27,873
so what happens for classic skins? what about a non-rectangular modern skin? what about child windows when using the Bento skin (as in your images) which are attached to the side of the main window?


so it is not a simple fix as your post is implying and equating one program against another is not something that is valid (as i would have hoped would have been realised if you have some foundation of coding skills) as most of the handling with 'snap' is based around a certain type of window style (as you've alluded to) and shape (which is not viable with Winamp for a large number of skins.

-daz
DrO is offline   Reply With Quote
Old 10th June 2012, 13:55   #5
Batter Pudding
Major Dude
 
Batter Pudding's Avatar
 
Join Date: Jun 2008
Posts: 1,665
Any forum post about a commercial product that includes the text "if you open source the program" always shows up a lack of programming knowledge in the "real world".

Once you get out of the bedroom with your coding skills and work in a commercial environment you will soon realise why you can't just "open source" a commercial product. Especially one full of licensed code like Winamp is.
Batter Pudding is offline   Reply With Quote
Reply
Go Back   Winamp & Shoutcast Forums > Winamp > Winamp Technical Support

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump