Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to fix Doug Hennig highlighting in preview code
Message
De
30/05/2006 08:49:34
 
 
À
29/05/2006 15:09:39
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Divers
Thread ID:
01125701
Message ID:
01125832
Vues:
23
This message has been marked as the solution to the initial question of the thread.
Hi Andrus.

>I tried Doug code from FoxTalk
>
>http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnfoxtk05/html/ft05c11.asp?frame=true
>
>which allows to search in report preview window and highlights selected item using Line() method.
>After highlighting this code causes 100% CPU usage and highlighted item
>flashes forever.
>
>Any idea how to fix this ?

In a later article (http://msdn.microsoft.com/library/en-us/dnfoxtk05/html/ft05e7.asp), I resolved the problem by using GDI+ to draw on the preview surface instead. That article also explains why the line flashes using the older code.

Doug
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform