Hi, old timers will know I've not posted in ages, but I hope I'm still good for some advice!
Anyway, I've been doing a lot of programming, mostly in Cocoa-java, but I've come across a problem. I've got a button that I want to do three different things depending on whether control, option or nothing is held down while the button is clicked. I've got the button attached to a method/action and naturally, it does the correct thing when I just press it.
How do I find out which key was held down at the same time as the button was pressed?
TIA for your help.