Quantcast
Channel: MicroStation Programming Forum - Recent Threads
Viewing all articles
Browse latest Browse all 7260

RE: [CONNECT C# Addin] Detect key press inside Dynamic input

$
0
0
thanks.
OnModifierKeyTransition() is for modifier keys only (control, shift, alt - see DgnPlatformNET.KeyModifierMasks).

The native (C++) version of DgnTool supports _OnKeyTransition() which can handle a small subset of other keys, including the arrow keys.
The managed (DgnPlatformNET) version currently does not - that feature was added shortly before CONNECT Edition's release and the managed class was not updated to reflect the change.

You can either:
- write a native tool instead; or
- listen for keyboard events via whatever .NET API exists

HTH,
Paul

Viewing all articles
Browse latest Browse all 7260

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>