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
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