BITBLT! here is I useing the fella but I must confess that I do not entirely know what I am doing.
This has rather slowed me down on
as I don't actually know how to go from right to left.Code:'Draw the absolute background If X + ScrollWidth > ABBAckWidth Then 'We ned to glue at the beginnig again 'Calculate the remaining width GlueWidth = X + ScrollWidth - ABBAckWidth EndScroll = ScrollWidth - GlueWidth 'Blit the first part BitBlt Me.hdc, 0, 0, EndScroll, ABBackHeight, DCABBAck, X, 0, vbSrcCopy 'Now draw from the beginning again BitBlt Me.hdc, EndScroll, 0, GlueWidth, ABBackHeight, DCABBAck, 0, 0, vbSrcCopy Else BitBlt Me.hdc, 0, 0, ScrollWidth, ABBackHeight, DCABBAck, X, 0, vbSrcCopy End If
http://vbforums.com/showthread.php?s=&threadid=124545this is also mentioned here.
Please help this is makeing me feel realy stupid
Can anyone please explain what each var in BITBLT is used for?





Reply With Quote