FWIW, I would advocate you use the PostMessage function instead of the SendMessage function. SendMessage places a message on the message stack and waits until the message is processed from the stack. PostMessage simply places the message on the stack and returns.
If you use SendMessage and the corresponding application is in a modal state(ie, getfile or savefile dialog box), be prepared for your app to hang until the modal state is resolved in the offending app.
Just my two cents.
For an example of the PostMessage functions, see: thread184-34969 Jon Hawkins
jonscott8@yahoo.com
The World Is Headed For Mutiny,
When All We Want Is Unity. - Creed
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.