In my application, I would like to change the icon when the user presses Alt (Alt only, no other character, so i cannot use the KeyDown Event). How do I do it?

I plan to use a global boolean variable AltPressed and a timer that ticks every 100 ms, and use GetKeyState in each timer tick to detect the Alt State.

Is there a neater solution?