WPFwiki, wpf, wiki, .net 3.0, windows presentation foundation, FAQ, free resources, solution, development, microsoft Home of the world's largest WPF FAQ
Edit

Category

Input

Edit

Question

Are there any alternative ways to simulate input?

Edit

Answer

Yes, you can use the SendInput method from User32.dll assembly to reproduce input from the keyboard and the mouse.

Note that this input will be considered "real" with regard to WPF; therefore, all limitations of the "simulation" method described here are void.

The drawback is that you then depend on Win32 for your applications.

All content is Copyright ©2007 Xceed Software Inc. unless otherwise indicated. See the Terms of Service. Contributors must read and agree to the Contribution Policy. WPFwiki is brought to you by Xceed, makers of the powerful yet free Xceed DataGrid for WPF.