Thanks Gregory. I was using an older vfp9r.dll
>>Hi All
>>
>>I have a dropdown combo list on a form. Under Vista all the options highlight and stay highlighted as the mouse moves over them. Is there a fix for this?
>>
>>TIA
>
>Jos,
>
>I use this since vfp6 - you can replace the on error with a try/catch
>
>To execute once upon app startup
>
>
>function Vista_Init()
>
> local sError
> sError = on('Error')
> private declareError
> declareError = FALSE
> on error declareError = TRUE
>
> DECLARE integer GdiSetBatchLimit IN WIN32API integer
> =GdiSetBatchLimit(1)
>
> on error &sError
>
> return !m.declareError
>
>endfunc
>
In the End, we will remember not the words of our enemies, but the silence of our friends - Martin Luther King, Jr.