Is there any alternative to FindWindow (a function that returns a pointer to a window by its title) from WinAPI from Mac? I try to estimate the complexity of transferring a couple of methods to Mac, but I have never worked with it and easy Google showed that there is some kind of nonsense (like the whole OS, in general) with this. Subject - is it possible to get a window \ pointer to it \ immediately a screenshot of a window on a Mac from C ++?