Hi everyone. This is the problem. I execute an applicaton with ShellExecuteEx. In the structure SHELLEXECUTEINFO I receive HINSTANCE of the app and HANDLE of the process.

I need HWND of the created window.

I can't use statement "EnumWindow" 'cause the caption text of the created window change every time.
Using spy++ I can't get (I think) useful information: #32770 (Dialog) is the same for other dialogs too, so I can't use it.

Can someone help me?