Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to fix Doug Hennig highlighting in preview code
Message
From
30/05/2006 08:49:34
 
 
To
29/05/2006 15:09:39
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Miscellaneous
Thread ID:
01125701
Message ID:
01125832
Views:
18
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform