how do I set the focus on a window from .net
shoudnt this work?
Code:
Private Sub Button1_Click(ByVal sender As System. _
Object, ByVal e As System.EventArgs) Handles Button1.Click Dim wWindow As Long
wWindow = FindWindow(vbNullString, "Untitled - Notepad")
SetFocus(wWindow)
End Sub
shoudnt this work?