简体   繁体   中英

EnumWindows equivalent for Mac OS X (C++)

I'm trying to get a list of the top-level windows that are currently open on OS X. On Windows this can be achieved using EnumWindows and I was wondering if OS X had any sort of equivalent for this? (even having to enumerate through the applications, and then the windows would be fine)

I've tried searching for this, but unfortunately both Google and SO weren't so useful in their results. I think the 'windows' keyword confuses them into thinking I want results about Windows :(

Thanks for any help.

也许不完全是您想要的,但这是Apple邮件列表中的内容

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM