I want to detect another process's (Origin) current window with the Win32 API (or any other way, but I don't want to use image processing). I tried using FindWindow()
to detect the "Sign in with your EA Account"
QLabel
, so if this QLabel
is visible then this means the Origin process is displayg its Login screen. But there are no child windows visible in Spy++, I think because Qt is being used.
How can I detect if Origin's current window is the Login screen?