Recent

Author Topic: macos list of visible windows  (Read 1086 times)

coda

  • New member
  • *
  • Posts: 9
macos list of visible windows
« on: June 29, 2024, 07:23:17 pm »
Any pointers?  Search finds nothing

madref

  • Hero Member
  • *****
  • Posts: 1062
  • ..... A day not Laughed is a day wasted !!
    • Nursing With Humour
Re: macos list of visible windows
« Reply #1 on: July 03, 2024, 10:46:12 am »
What do you mean.....explain yourself
You treat a disease, you win, you lose.
You treat a person and I guarantee you, you win, no matter the outcome.

Mac OS X Sonoma 14.7
Lazarus 3.99 (Lazarus 3.99 (rev main_3_99-2668-g6b352d830e) FPC 3.3.1 x86_64-darwin-cocoa)

Windows 10 Pro
Lazarus 3.99 (rev cbfd80ce39)

Zvoni

  • Hero Member
  • *****
  • Posts: 2692
Re: macos list of visible windows
« Reply #2 on: July 03, 2024, 10:58:56 am »
One System to rule them all, One Code to find them,
One IDE to bring them all, and to the Framework bind them,
in the Land of Redmond, where the Windows lie
---------------------------------------------------------------------
Code is like a joke: If you have to explain it, it's bad

VTwin

  • Hero Member
  • *****
  • Posts: 1224
  • Former Turbo Pascal 3 user
Re: macos list of visible windows
« Reply #3 on: July 28, 2024, 08:13:41 pm »
For a cross-platform implementation, you can use TScreen to access all TForms and check if they are visible.

Perhaps not what you want.
« Last Edit: July 28, 2024, 08:15:49 pm by VTwin »
“Talk is cheap. Show me the code.” -Linus Torvalds

Free Pascal Compiler 3.2.2
macOS 14.5: Lazarus 3.4 (64 bit Cocoa M1)
Ubuntu 18.04.3: Lazarus 3.4 (64 bit on VBox)
Windows 7 Pro SP1: Lazarus 3.4 (64 bit on VBox)

 

TinyPortal © 2005-2018