Hi,
I am using vb.net.
When my app get focus, How can i know which window had focus before? When my app get focus, I must be able to refocus the previous window(suppose it is a text editor) and paste some text where the cursor is.
Somebody please let me know how and which api should i use