>>Does anyone know if there is a Windows API behind the LastKey() function of VFP9 which can be called directly?
>>
>>Thanks
>
>As mentioned, Foxpro does not use the Windows keyboard buffer, but has its own. This proved to be a problem when designing automated test cases that involved Windows dialog windows. The only solution for that was to use the SendKey function in the WinAPI. The FoxPro LastKey(), and Inkey() function read the keystrokes from the foxpro internal keyboard buffer.
>
>From my experience as a tester for Microsoft.
Awesome, Greg. Thanks for the info.
In the End, we will remember not the words of our enemies, but the silence of our friends - Martin Luther King, Jr.