I have a high channel count data acquisition system which returns some status indicators, one of which is a boolean indicating whether that particular channel is open-circuit. I want to be able to display these boolean status indicators in a 2D array of LEDs, such that the operator can see at a glance if any channels are open. Because the array is large, I want to be able to move the mouse over any LED and have the tip strip indicate the channel number. How do I access the indices of the moused-over LED in such a manner?
Here's some very old code of mine that does that.