Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Need a Send Key Function
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00145446
Message ID:
00145499
Views:
35
>>>>>Does anyone have the equivalent of the Visual Basic ‘SendKey’ function that will work in Visual FoxPro 6.0. I know there is a C function using VFP API, but I would like to do it straight out of VFP if possible.
>>>>>
>>>>>TIA
>>>>
>>>>What does it do?
>>>
>>>It sends keystrokes to another non-visual foxpro window based on a window title.
>>>
>>>Sorry I assumed too much...
>>
>>I have only seen ways to do this with the API...
>>
>>Is there a reason you don't want to use the API?
>
>Do you know how to do it through windows API and not FoxPro's API.

Hi Brett,

You'd use SendMessage(). I must admit, however, that I've never even played with the message(s) required, so I don't know whether or not they'd work. I will, however, be happy to provide you with any information that I can.
George

Ubi caritas et amor, deus ibi est
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform