FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour continuation of news group discussion
Posts: 155
Joined: Tue Dec 30, 2008 03:07 AM
continuation of news group discussion
Posted: Mon Oct 17, 2005 09:16 PM

Antonio,

I reported problems with fwh2.6 on the "old" newsgroup.

One was the slow painting of dialogs. You suggested changing the dispbegin() and dispend() methods to VIRTUAL.

Here is the reply I attempted to send to the news group.


Changing the methods to "VIRTUAL" made a HUGE difference in speed of dialog painting, large browses, etc.

What exactly did I do by delcaring those methods as VIRTUAL?

Much better now. What is the advantage of "non-Virtual" over "Virtual"
?????

I'm leaving it as "virtual" for my application. Will this mean I must
forever link a "modified" version of window.prg into my applications?

Thanks

Don Lowenstein

"Antonio Linares" <alinares@fivetechsoft.com> wrote in message
news:EiZSqsoyFHA.1908@second...
> Don,
>
>>>> 5. My intro screen paints very slowly, compared to the one used in
>>>> fwh25 version.
>
> This may be due to double buffer painting. You may declare methods
> DispBegin() and DispEnd() as VIRTUAL at window.prg and see if that makes a
> difference. Thanks.
>
> regards,
>
> Antonio Linares
> www.fivetechsoft.com
>

Posts: 44162
Joined: Thu Oct 06, 2005 05:47 PM
continuation of news group discussion
Posted: Wed Oct 19, 2005 04:58 PM

Don,

Those methods are related to "double buffer painting" technique. This technique avoids flickering but it is more time consuming.

You can have them as VIRTUAL, there is no problem on that.

regards, saludos

Antonio Linares
www.fivetechsoft.com

Continue the discussion