I am porting an application over to Mac OS X. It uses FindWindow(). Here's the specific function:
FindWindow(NULL, "MyApplication")
However, that isn't going to work on Mac. Is there a similar function for Mac OS X or, even better, a universal function?
I am trying to use it in "the application's main window" from this function.