pluke
pluke

Reputation: 4346

VB.NET event listener for click outside a form

In VB.NET I can add an event listener for clicking inside a form, but I want the program to pick up clicks outside the form, when I am clicking elsewhere. Is this possible?

Upvotes: 1

Views: 737

Answers (1)

Mark Hall
Mark Hall

Reputation: 54532

You are talking about a global mouse hook, the codeplex project GlobalMouseKeyboardHook is one of the easier ways to accomplish it.

Upvotes: 2

Related Questions