I am using VB.NET to control another program. I have the program's window
hwnd; however, I need to be able to set the focus to that other programs
window so I can send it some keystrokes. I thought I could just use the
SetFocus API, but I read somewhere that it will only work for programs
running under that programs thread. Is this true? If so, how can I set focus
to another program's window via VB.NET? Thanks.
Tom