I tried, but my code is so integrated that it is too much work. thank you for offering help though.

That is a nice trick, and it helps!doublemax wrote: ↑Fri Apr 16, 2021 5:15 pmCode: Select all
bool isRepeat = (keyevent.GetRawKeyFlags() & 0x40000000) != 0;
yes, it all simply works in the sample, probably because it also has control over the server. That is not the case with me, so i guess my problem has to do with some non wxWidgets socket implementation in the device.