Re: Redraw Issue

new topic     » goto parent     » topic index » view thread      » older message » newer message

Hi Bernie,

----- Original Message -----
From: "Bernie Ryan" <xotron at localnet.com>
To: "EUforum" <EUforum at topica.com>
Subject: RE: Redraw Issue
>
> Derek Parnell wrote:
> > The TBAR.EXW program flickers when the window is resized. The effect is
> > quite pronounced. I'm using a Intel P3 550mHz with 256RAM, nVidia TNT2
> > Vanta
> > video card, and Windows ME.
> >
> > I replaced the line ...
> >
> >        OR({CS_HREDRAW,CS_VREDRAW}), -- style
> >
> > with
> >                                  0, -- style
> >
> > and the flicker disappeared. Except that when resizing horizontally, the
> > toolbar's border still flickers.
>
>   Derek:
>
>   You should not need to change the style.

Why not? What goes wrong if I don't use the CS_xREDRAW styles? What goes
right if I do use them? In other words, how have I done the wrong thing?

>   If you are using a TNT2 Vanta 16 megs or less be sure that
>   your motherboard bios AGP setting is set for 2X NOT 4X or automatic.

I have an Award BIOS and it doesn't have such an option. Am I stuffed? Do I
have to go and upgrade to a more appropriate motherboard? Or maybe I should
change my video card? Or maybe seek out a better video driver? Nah - I'll
just avoid the two styles for now - its cheaper and easier and seems to work
just fine.

It seems to me that the problem stems from having the redraw event happen so
frequently that there is a noticiable lag between the pixels being set to
the COLOR_WINDOW color and then having the controls redrawn. In slower
machines and video driver/cards this leads to a flicker. Why do I have to
have the window repainted so frequently? If I *must* use these styles it
seems that I have to upgrade the hardware and/or drivers. This doesn't seem
a great idea to me.

>   Some manufactors when they decided to go to AGP from PCI video
>   cards took their PCI cards and they just moved them to the AGP
>   buss without redesigning the card, so some video cards are not
>   really AGP cards and can have driver problems.
>
>   ME has alot of driver issues so be sure that you are using the
>   correct driver and that a driver is a bug free driver.

Never had an issue yet in 11 months of use. I must be doing something wrong.

>   I'am using a S3 Savage4 AGP 2x with 16 megs of memory
>   running at 800x600 32bits at 85hz
>   with a memory clock 125mhz with a core clock 110hz
>   with a K6-2 at 500mhz 128megs of memory.
>
>   PS: An for some users that don't seem to think I know what
>   I'am talking about, I have been working with computers for
>   46 years probably before some of you were even born.

So those rumours ARE true. blink
----
cheers,
Derek.

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu