Your question, your audience. Choose who sees your identity—and your question—with question security.
Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.
Have a better answer? Share it in a comment.
For i := 0 to (Screen.FormCount - 1) do
SendMessage(Screen.Forms[i
Note that you can use Screen.Forms[i].Perform(..
To send a message to the child windows of the forms as well, use
Screen.Forms[i].Broadcast(
To send a message to *all* windows of an application, including those not created as forms ar as controls in forms, you will need to use the API function EnumWindows.