wd8ivl wrote:So my first question is, will the "mouse_event" from user32.dll even fire if my computer doesn't have a mouse plugged in?
I'm guessing that it would, because Windows has a cursor even if there's no mouse plugged in, but I haven't tried it.
As for the second question, you could try what I posted here, although you'll probably want to clean up the code - http://lavag.org/topic/12751-how-do-you-make-your-application-window-frontmost/?p=76308