Open Helmet10 opened 2 months ago
Hi, can you tell us which key combination you would be expecting to use what result you be be expecting when using a ChildWindow ?
Thanks
In the current case, the ChildWindow is used to edit person details, and one field was for an e-mail address, but it's not possible to input @ in a textfield, can by copy pasted into the field.
Hum...I see.
Yes, when the ChildWindow is modal, the LeftAlt and RightAlt keys are handled to prevent MenuItem shortcut from being activated. Could you try to create your own MyChildWindow, deriving from ChildWindow, and override the OnPreviewKeyDown() method to not call it's base method ? This would remove the handling of the Alt keys.
Thank you
If you run the ChildWindow with IsModal.
The implementation of OnPreviewKeyDown marks keys LeftAlt and RightAlt as Handled, probably to prevet shortcuts on parent windows to be activated. This prevents the users for entering all characters requiring CTRL+ALT eg. @ and more.