I\'m trying to start an application and then press the F4 key. I\'ve tried many solutions with EnumWindows and FindWindow but it doesn\'t give me my HWND of the window I nee