ViewItemWpfUserControl doesnt register Keyboard inputs

I am using some buttons on my keyboard for some functions in my ViewItemWpfUserControl. But my code doesnt register any Keyboard inputs until i click a button in my view.

Any tips how i could enable this?

Unfortunately, it can not be done and currently there is no workaround. We put this on the wish-list for future development. We cannot say when (or even if) this will be developed.

Since it seem to work after I’ve clicked a button. I was thinking of using the SelectedViewItemChangedIdication to click a button that does nothing in my plugin. Is there a good example of using the SelectedViewItemChangedIndication?

Message Tester tools sample might be helpful for you -

https://doc.developer.milestonesys.com/html/index.html?base=samples/messagetester_sample.html&tree=tree_1.html