VBcoders Browse New Submit Contact Sign In

No account? Register free

Forgot password?

Another Flicker Free About Box

DanF  (1 Submission)   Graphics   Visual Basic 5.0   Intermediate   Wed 3rd February 2021

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 Declarations
TrackMouseEvent
BitBlt

Rate Another Flicker Free About Box (7(7 Vote))

Download Another Flicker Free About Box

Another Flicker Free About Box Comments

No comments yet — be the first to post one!

Post a Comment

0/1000 characters