WPF interface with TextBox...

WPF interface with TextBox...

kotorotomoto
Participant Participant
839 Views
2 Replies
Message 1 of 3

WPF interface with TextBox...

kotorotomoto
Participant
Participant

I made a WPF interface that has a TextBox,
compiled it as a dll and displayed the window via maxscript.
Everything works fine, except for the TextBox, when i try to enter text, 3dsmax intercepts the input if the key used as a 3dsmax hotkey is pressed and it becomes impossible to enter text. I haven't found a solution, although I'm sure it's very simple.

0 Likes
840 Views
2 Replies
Replies (2)
Message 2 of 3

MehdiZangenehBar
Advocate
Advocate

You should enable/disable acclerators on get/lost keyboard focus events of the textbox.

0 Likes
Message 3 of 3

kotorotomoto
Participant
Participant

Yes, thanks! I had such an idea, but the solution seemed insufficiently elegant. But it works

0 Likes