VBcoders Browse New Submit Contact Sign In

No account? Register free

Forgot password?

Winamp Style Resize

Michael L. Canejo  (28 Submissions)   Windows System Services   Visual Basic 5.0   Beginner   Wed 3rd February 2021

Winamp 2.80 and below had a resizing feature on it's playlist that resized the form in blocks of pixels instead of per pixel. The reason for it was because they didn't know how to stretch the playlist skins (i hope not), so instead they kept resizing it a certain amount of pixels and then painting the image block after it's last one. This does get you better quality on your skinning cause stretching would degrade the quality unless it wasn't made to be stretched. I am using this in an XP Control i'm working on right now because the vb Image control flickers when the stretch property is set to true and you want to resize it with a form. I figured resizing it per chunck of pixels rather than per pixel, it would reduce flickering and save resources on old computers. I havn't testing my theory, but this method still looks appealing to me. I think this would work great on borderless forms or unsizable forms for customizing. It's kinda sloppy but efficient ;)

Rate Winamp Style Resize (8(8 Vote))
Winamp Style Resize.bas

Winamp Style Resize Comments

No comments yet — be the first to post one!

Post a Comment

0/1000 characters