[DUG] selective processing of Windows messages
Ross Levis
ross at stationplaylist.com
Wed Jul 19 13:28:19 NZST 2006
SendMessage is required because a result is usually required. The
messages are often used to return information to the 3rd party DLL in
the wParam or Result parameters.
I've got it all working fine now with ProcessMessages.
Thanks,
Ross.
----- Original Message -----
From: "Karl Reynolds" <karlreynolds at xtra.co.nz>
To: "'NZ Borland Developers Group - Delphi List'" <delphi at ns3.123.co.nz>
Sent: Wednesday, July 19, 2006 10:30 AM
Subject: RE: [DUG] selective processing of Windows messages
> Trouble is that the main app (App1) waits in a loop for a
> response from
> App2 when it executes a command, so there is a hang situation
> where App1
> is waiting for App2 to finish executing a command, and App2
> is waiting
> for a SendMessage reponse from App1.
So maybe App2 should be using PostMessage rather than SendMessage?
Cheers,
Carl
_______________________________________________
Delphi mailing list
Delphi at ns3.123.co.nz
http://ns3.123.co.nz/mailman/listinfo/delphi
More information about the Delphi
mailing list