K
K
keldish2022-02-24 15:38:24
C++ / C#
keldish, 2022-02-24 15:38:24

C# WinForm how to check key state?

an infinite loop is needed
where the check of the state of the keys will take place (actually the question is how?)
calculation of mathematics
output to the form (refresh)

googled until I found nothing except KeyDown, KeyPress, KeyUp.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Vladimir Korotenko, 2022-02-24
@keldish

Apparently so
https://docs.microsoft.com/en-us/windows/win32/api...
but what prevents catching KeyDown???

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question