Eric C. Hansen wrote:
> Why is it that a Win32 GUI perl program's screen objects (e.g. ListViews,
> etc.) become visually degraded between the time an EVENT is fired(and some
> procedure code is executed) until the time the procedure code completes
and
> the program once again is in the ready state waiting for another EVENT to
be
> fired off?  Is there any way to stop this(such as repainting the objects
via
> a timer every second or two)?

you can try the repaint way:

    $Window->ListView->InvalidateRect(1);

you need to put it inside your procedure code (but don't exceed with it,
or your code will be significantly slowed down).

cheers,
Aldo

__END__
# Aldo Calpini
%_ = split undef, join ' ', qw(fahokem
xritajbugne csuctawer jhdtlrnpqloevkshpr
); print map $_{$_}, sort keys %_;





Reply via email to