Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Managing Windows Events (autoyield)

Status
Not open for further replies.

alan232

Programmer
May 19, 2004
144
0
0
US
Hi All;

Does setting _vfp.autoyield = .f. stop only ActiveX controlls from interrupting other program code, or does it que ALl windows events, including the vfp timer, for a wait state?

Specifically, I have a form with only a vfp timer (going off every 20 seconds) and a winsock server responding asynchronously to incomming connection and dataarrival requests. It is simple enough programmatically to turn off the timer durring a dataarrival event, but what is the best way to turn off processing winsock dataarrival while the timer code is executing without losing the winsock data? i.e., I need the timer code to finish before processing data in the dataarrival event.

Thanks in advance for any help,
Alan
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top