VoyForums
[ Show ]
Support VoyForums
[ Shrink ]
VoyForums Announcement: Programming and providing support for this service has been a labor of love since 1997. We are one of the few services online who values our users' privacy, and have never sold your information. We have even fought hard to defend your privacy in legal cases; however, we've done it with almost no financial support -- paying out of pocket to continue providing the service. Due to the issues imposed on us by advertisers, we also stopped hosting most ads on the forums many years ago. We hope you appreciate our efforts.

Show your support by donating any amount. (Note: We are still technically a for-profit company, so your contribution is not tax-deductible.) PayPal Acct: Feedback:

Donate to VoyForums (PayPal):

Login ] [ Contact Forum Admin ] [ Main index ] [ Post a new message ] [ Search | Check update time | Archives: 123456789[10] ]


[ Next Thread | Previous Thread | Next Message | Previous Message ]

Date Posted: 11:23:46 05/15/00 Mon
Author: Ted Slusser
Subject: Re: Envision is really cool! -- Yes, but...
In reply to: Michel 's message, "Re: Envision is really cool! -- Yes, but..." on 18:28:52 05/12/00 Fri

Hi Michel,

Thanks for the tip. I have windows 2000 and applied the changes you recommended but there is no field named FStartMousePos in either the TDragMouseHandler or the TImageScrollBox. I just removed the reference to the FStartMousePos and tried the changes but I didn't notice a change in the redraw speed.

Scrolling the image is not a big problem; the slowdown only occurs when the ImageScrollBox is being resized. I stepped through the source code and it actually takes about .75 seconds to return from the StretchDiBits function. I can send you a sample project to test on your machine if that would help. I hope that it is something simple I am missing.

I would like to say that I really like the Envision library and I appreciate the excellent support that you are giving.

Cheers!
Ted

>
> Hi Ted,
>
> I think it is actually the VCL base class
> TScrollingWinControl that is not very fast.
> StretchDiBits is usually quite fast. I decided to
> derive from TScrollingWinControl for code reuse, and
> to stay close to the VCL, which is the same idea why
> all graphic classes in Envision derive from TGraphic.
>
> I have done some testing and the scrolling in the VCL
> scroll box is quite slow especially on NT. If you look
> at the post, Flickering on NT 09:29:47 03/18/00 Sat,
> there is an improvement there to be made.
>
> Envision is not as full featured and some parts are
> not as optimized as some commercial libraries, but I
> will continue to improve it.
>
> Best regards,
>
> Michel

[ Next Thread | Previous Thread | Next Message | Previous Message ]

[ Contact Forum Admin ]


Forum timezone: GMT-5
VF Version: 3.00b, ConfDB:
Before posting please read our privacy policy.
VoyForums(tm) is a Free Service from Voyager Info-Systems.
Copyright © 1998-2019 Voyager Info-Systems. All Rights Reserved.