My application is working similarly to Spotlight. When the app is activated, I intercept keys like arrows and return to do some operations and navigate through the list of suggestions. When the user hits the return button I assume that the selected item from the list has been chosen.
Unfortunately, the same keys are used by the Candidate Window when a user is using a Japanese, Korean, or Chinese keyboard. Therefore, I've got conflicts.
I need to distinguish whether a user is currently interacting with the Candidate Window or with my application. Therefore, I wonder if there is any way to detect that the Candidate Window is shown?