Page 1 of 1

OnPause-event doesn't always fire when using keyboard keys

Posted: Sat May 24, 2014 6:59 am
by ninov
Hello,
I'm using the MediaMonkey COM interface in a C#-programm.
Now, I use this example code to detect a play/pause-change:

Code: Select all

[...]
SDB.OnPause += OnPauseEvent;
[...]
private void OnPauseEvent()
        {
            Debug.WriteLine("OnPause");
        }
Everything works fine when I'm using the play/pause button in MediaMonkey or the Play/Pause-button on my keyboard when MediaMonkey is open.
But when I minimize MediaMonkey and use the button on my keyboard, the event doesn't fire all the time, but only about each fifth time I press the button.