I need the code that will get a handle to a window or dialog box. Please send me a code snippet and don't just refer me to the help for some function because my help is not working correctly right now.

Thanks
Devin