objective c - Which app has keyboard focus? -
Programs in Cocoa / Objective C is to find out which app or process the keyboard focus is. This is a 'hit-test' 'Can be done, but I'm not sure at all.
I also need to get the keyboard ID number of the keyboard focus and the app title of the app.
Purpose C or C Only Please!
Snippets appreciated!
You can use to find front applications. It can be used to look inside the app to get window titles and so on.
Another option is to use the CGWWO Leopakwu WindowOnFFO function to get the list of all windows
Comments
Post a Comment