In Visual Basic, how do I check if the Caps Lock key is locked (on) ?
The following do not work
If Window.Current.CoreWindow.GetKeyState(VirtualKey.CapitalLock).Locked Then... evaluated as True always
If Window.Current.CoreWindow.GetKeyState(VirtualKey.CapitalLock).HasFlag(VirtualKey.Down) Then... throws an error