Yes. But I have to add something to the BEGINING of the caption.
If I ADD something to the caption, wexist still returns .T.
As long as the caption BEGINS with Hello, wexist retirns .T.
>After user customize application caption, you can add something to the end of it to make it unique, similar to what IE or other browser do. Something like "Hello - MyApp".
>
>>Try this in the command window:
>>
>>
>>_screen.Caption="Hello"
>>? wexist("Hello")
>>
>>
>>The wexist function recognizes VFP's main screen caption as an existing window.
>>
>>In my application, the user can personalize _screen's caption.
>>When in code I try to check if some window of mine exists, the function returns .T., but my window doesn't exist.
>>
>>I have lots of wexists in my code.
>>Anyone has a hint for a workaround ?
>>
>>Thanks.