Because I'm creating a text input box. When people press the caps lock key, they expect their text to be capitalized. If I have no way of detecting if they press it, I have no way of making it behave like the user would expect.
Basically, my reason for wanting this is the same reason that the key exists.
I can do it using win32, but I was hoping for a cross-platform way to do it.