I am trying to update it and have run across an issue.
If i change the Control modifier to Alt - it doesn't work
public void OnKeyDown(object sender, System.Windows.Input.KeyEventArgs e)// change to eg Alt here it no longer works
{
if(Keyboard.Modifiers == ModifierKeys.Control)
{
if (e.Key == Key.D0|| e.Key == Key.NumPad0 )
{
.....
public void OnKeyDown(object sender, System.Windows.Input.KeyEventArgs e)
{
if(Keyboard.IsKeyDown(Key.LeftAlt))
{
if( Keyboard.IsKeyDown(Key.NumPad0) || Keyboard.IsKeyDown(Key.D0))
{
.....
What am I missing?

Comment