Lazarus
Home
Help
TinyPortal
Search
Login
Register
Lazarus
»
Forum
»
Programming
»
Widgetset
»
Cocoa
»
macos list of visible windows
Free Pascal
Website
Downloads
Wiki
Documentation
Bugtracker
Mailing List
Lazarus
Website
Downloads (Laz+FPC)
Packages (OPM)
FAQ
Wiki
Documentation (RTL/FCL/LCL)
Bugtracker
CCR Bugs
GIT
Mailing List
Other languages
Foundation
Website
Useful Wiki Links
Project Roadmap
Getting the Source
Screenshots
How to use the forum
About donations (wiki)
Bookstore
Computer Math and Games in Pascal
(preview)
Lazarus Handbook
Search
Advanced search
Recent
Breakpoint dosn't work
by
Martin_fr
[
Today
at 12:43:37 am]
[SOLVED] Howto use a DEFI...
by
bytebites
[
Today
at 12:05:01 am]
Common File Dialogs Have ...
by
msintle
[
Today
at 12:04:48 am]
ZUGFeRD: Which PDF lib to...
by
mtrsoft
[December 05, 2024, 11:47:24 pm]
C operators and shift
by
Warfley
[December 05, 2024, 11:19:19 pm]
Map vs dataset
by
silvercoder70
[December 05, 2024, 10:51:10 pm]
Tmemo add char like typin...
by
ackarwow
[December 05, 2024, 10:47:59 pm]
Python4Lazarus Undefined ...
by
AlexTP
[December 05, 2024, 08:42:33 pm]
Inversive Geometry Curves...
by
Dzandaa
[December 05, 2024, 06:39:58 pm]
mxMarkEdit, a new visual ...
by
maxnd
[December 05, 2024, 06:08:17 pm]
kernel 6.8 and checking s...
by
MarkMLl
[December 05, 2024, 06:04:53 pm]
How much would it hamper ...
by
Martin_fr
[December 05, 2024, 05:01:02 pm]
Api/component pack for Ra...
by
MarkMLl
[December 05, 2024, 04:47:33 pm]
compiler messages suggest...
by
Thaddy
[December 05, 2024, 04:15:17 pm]
Wrong resolution of secon...
by
Apiglio
[December 05, 2024, 03:13:47 pm]
Benchmarks
by
Warfley
[December 05, 2024, 02:00:39 pm]
[Solved]I have created dl...
by
Packs
[December 05, 2024, 01:11:27 pm]
TLazSerial : serial port ...
by
tetrastes
[December 05, 2024, 12:26:29 pm]
Bright color
by
Warfley
[December 05, 2024, 10:29:06 am]
[Solved] pointer to out o...
by
440bx
[December 05, 2024, 12:51:22 am]
storing string
by
ASerge
[December 04, 2024, 11:06:57 pm]
Show Form at Top
by
n7800
[December 04, 2024, 10:16:21 pm]
Arrow keys in FV
by
HotShoe
[December 04, 2024, 10:04:56 pm]
"Active $IFDEF code" is r...
by
MarkMLl
[December 04, 2024, 09:49:15 pm]
NSHapticFeedbackPerformer
by
msintle
[December 04, 2024, 09:47:25 pm]
« previous
next »
Print
Pages: [
1
]
Author
Topic: macos list of visible windows (Read 1198 times)
coda
New member
Posts: 9
macos list of visible windows
«
on:
June 29, 2024, 07:23:17 pm »
Any pointers? Search finds nothing
Logged
madref
Hero Member
Posts: 1078
..... A day not Laughed is a day wasted !!
Re: macos list of visible windows
«
Reply #1 on:
July 03, 2024, 10:46:12 am »
What do you mean.....explain yourself
Logged
You treat a disease, you win, you lose.
You treat a person and I guarantee you, you win, no matter the outcome.
Main Platform:
--------------
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: 2738
Re: macos list of visible windows
«
Reply #2 on:
July 03, 2024, 10:58:56 am »
This?
https://developer.apple.com/documentation/coregraphics/1455137-cgwindowlistcopywindowinfo
No idea if/where it's implemented in Cocoa
Logged
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
»
Logged
“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)
Print
Pages: [
1
]
« previous
next »
Lazarus
»
Forum
»
Programming
»
Widgetset
»
Cocoa
»
macos list of visible windows
TinyPortal
© 2005-2018