![]() |
![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
| Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks. |
| |||||||
![]() |
| |
| | #1 (permalink) |
| | getting handle of child window with input focus 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 |
My System Specs![]() |
| | #2 (permalink) |
| | Re: getting handle of child window with input focus 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" <spam@xxxxxx> wrote in message news:eS8k80v$IHA.4528@xxxxxx Quote: > 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 > |
My System Specs![]() |
![]() |
| Thread Tools | |
| |
Similar Threads | ||||
| Thread | Forum | |||
| click in a IE child window | VB Script | |||
| Window Focus | Vista General | |||
| Input focus lost at logon screen | Vista General | |||