Hi All,
I've got a question similar to the post here:
http://forums.macnn.com/79/developer...-once-and-all/
Basically, I'm looking for a way to handle mouse/keyboard events across the board. Say, for instance, I have a window with several controls (15-20). On this window, I also have an NSTextView in which I display information about the current control over which I'm hovering. Now, I surely don't want to create a delegate for each and every control in order to perform the desired action(s). So, how do I go about capturing the events in a "central" manner so that I can respond as desired based on the type of item over which I'm hovering?
Keep in mind that I've read the Apple docs regarding "Mouse-Tracking Events" (
http://developer.apple.com/documenta...section_2.html). Not only is the solution less than desirable, but it doesn't guarantee that events will even fire in the proper order.
Admittedly, I've become spoiled with the ability in higher level languages (e.g. RealBasic) to directly access all events related to the mouse and keyboard in relation to most any control. If anyone has any suggestions, I'm all ears.
Best!