Answer the question
In order to leave comments, you need to log in
How to emulate a keypress in C#?
You need to emulate keystrokes in C#.
SendKeys is not suitable. It works in some background programs, in most it stupidly does not respond to the request and nothing happens.
It is necessary that pressing works in all programs. Toaster, help.
Answer the question
In order to leave comments, you need to log in
Have you carefully read msdn? msdn.microsoft.com/en-us/library/ms171548 (v=vs.110).aspx
about UAC and so on?
word-break: break-all;
applied to an element with text, it will wrap words that do not fit into the line (if you need it, of course).
And on top of all this we also save overflow: hidden; for the container itself, if you want nothing to get out of it.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question