I'm using ShellExecute to show the Find All dialog, which works fine.
http://support.microsoft.com/support...n_SRCH&SPR=VBB

The problem is getting a window handle to the Find All dialog I've just displayed.

Say I already have 2 Find All dialogs open and I call ShellExecute to display another, how do I get the window handle to the Find All dialog I've just displayed.

I can't use FindWindowEx because the window caption will be the same for all the Find All dialogs.

It says on www.vbapi.com that ShellExecute should return the window handle, but I keep getting 33 returned when I run it in Windows 2000 and 123 when I run it in Windows 95.

How do I get the correct window handle?

Thanks in advanced