Detecting Middle Click?

A quick question, but I couldn’t find any reference about it: is it possible to detect a mouse middle click?

The lack of information makes me think it’s not, but I would like a clearer answer before giving it up.