I programmed my UI like the ones in IceCube and attached delegates to the button events.
Now the UI doesn't react on anything I found out that Brume throws an exception
(Microsoft.DirectX.DirectInput.OtherApplicationHasPriorityException)
Manual BrumeMouse.Aquire() calls solved that exception but not the Pipo problem.
The UI is displayed correct and I don't know how to get it reacting to the mouse events.
Is there any injecting function?
Debugging DirectX Direct Input
If you’re playing with DirectX.DirectInput and the keyboard make sure you set SetCooperativeLevelFlags to Non-Exclusive and Background while running from within Visual Studios otherwise you’ll get Microsoft.DirectX.DirectInput.OtherApplicationHasPriorityException when you try to acquire control of the input device. Visual Studios appears to keep exclusive control even if set to Release Mode.