>Hello,
>
>I want to find a window that contains a text string.
>I tried to use FindWindow in User32.dll, but the problem is, that I don't know the complete string, only the first part of it.
>FindWindow however needs the full name of the complete window caption.
>
>Which function can I use to find a window having only a part (the beginning of the text like "Inbox -" for example) of the text string?
>
>Thank you for your help in advance!
Use my Is_Run32() function. It's available in the Files Section under Win32 and Other APIs ("Is a Windows Application Running" is the title I think). It will return the window handle of the window based on the known portion of the title bar (the more the better, of course), and is not case sensitive.
George
Ubi caritas et amor, deus ibi est