typedef struct tagGUITHREADINFO {
DWORD cbSize;
DWORD flags;
HWND hwndActive;
HWND hwndFocus;
HWND hwndCapture;
HWND hwndMenuOwner;
HWND hwndMoveSize;
HWND hwndCaret;
RECT rcCaret;
} GUITHREADINFO, *PGUITHREADINFO;
BOOL GetGUIThreadInfo( DWORD idThread,
LPGUITHREADINFO lpgui
);
DWORD GetWindowThreadProcessId( HWND hWnd,
LPDWORD lpdwProcessId
);
"Bob" <> wrote in message
news:eS8k80v$...
> There's a Windows API function that provides various information about
> top-level windows, but I can't remember its name. One of the values it
> makes available is the window handle of the child window that has the
> input focus.
>
> Hopefully that's enough info so someone will think of the name of the
> function and post it for me 
>
> Thanks,
> Bob
>