by DanF (1 Submission)
Category: Graphics
Compatability: Visual Basic 5.0
Difficulty: Intermediate
Date Added: Wed 3rd February 2021
Rating:
(7 Votes)

Yet another flicker free about form.
Major differences between this and the other dozen on VBC: This one draws over a background picture, this one is a single form solution, this one has mouse capture to stop the scroll.
I've tried to make this form so it's a "drop in and go" type setup. Add the form, change the picture in picOut, move and resize picBackBuffer to where you want the text to scroll and it *should* work.
In order for the mouse out tracking to work, you need ssubtmr6 from vbaccelerator - https://www.vbaccelerator.com/codelib/ssubtmr/ssubtmr.htm . If you don't want to use this functionality, just change HASH_CON_TRACKMOUSE from True to False. Voila, no implemented interface and no subclassing :)
I originally based this off Mark Robert Strange's flicker free gradient credit box, there's very, very little of that code left in this one though :) But, still, he was the guy who gave me the idea, so I'd better credit him!
[edited: trying to get the line breaks happy]
[edited: and again]
Assumes
requires ssubtmr6 from vbaccelerator for the mouseout tracking - http://www.vbaccelerator.com/codelib/ssubtmr/ssubtmr.htm
API DeclarationsTrackMouseEvent
BitBlt