>Forgive me for asking stupid questions, but what can you do with that hWnd handle?
You can use it for any Win32 API function that requires a window handle. As an example, GetWindowText() would require a window handle. Check the MSDN for "Window Functions" under the Platform SDK treeview node.
Mike Stewart