0

After many searches, I can't find a way to get the active window (on windows desktop) or even all visible windows. All user32 methods have problems :

  • GetForegroundWindow gets the topmost if there is one.
  • GetActiveWindow only works for windows inside my app.
  • IsWindowVisible return true for windows opened but hidden by other windows.
  • GetFocus only works if there is input field.

How can I do ?

Entretoize
  • 2,124
  • 3
  • 23
  • 44

0 Answers0