6
votes
Vote UpVote

What is ProcessMessages?

Behind the connection – Sometimes, when you browse some application source code, you find loops calling Processmessages. What’s this? Well, it is a “Message pump” which retrieves and process messages from Windows message queues. More exactly from the current thread message queues. The code you see is frequently like this: FSomeFlag := TRUE; while FSomeFlag do begin Application.ProcessMessages; Sleep(100); end;
Favorite? Off-Topic? François Piette @ 2013-11-28 15:59

Statistics

Visits: 1469
Votes: 6
Favorites: 0
Off-Topic: 0

Visits by Source

User Actions

Users who voted for this posting

Alister Christie
Jim McKeeth
Jørn E. Angeltveit
Kryvich
stukelly
Zzzzz
Subscribe:
Contact us to advertise on DelphiFeeds.com

Community Links

Torry Firebird News

Sponsor

 
Please login or register to use this functionality.
(click on this box to dismiss)