Hi, i have a WPF application that i would like to become the current focused window whenever the mouse cursor moves over it. Currently i have a onMouseEnter event that changes the cursor when the mouse moves over it so i know the system is recognizing that, however what i actually want is for the application itself to become focused as if the used had left clicked on it - so i can then perform other ops. At the moment if i move over it the cursor changes but if another app, eg - notepad had focus, focus would return to that after.
Within the onMouseEnter handler i have tried "this.Focus()" and "this.Activate()" but neither of them achive the same result as if i had clicked on the app.
Any ideas?