Detect user's mouse click and enter key press
<p>I have a little problem that needs your ideas, I am building a simple application to detect when user finishes writing text into a textbox, there is a button the user can click or press the enter key to proceed further action  </p>

<p>[<strong>UPDATE</strong>]</p>

<p>Oh I am sorry, I have to add that the textbox is from another windows, it may be any windows.</p>

<p>I don't want to use function like GetAsyncKeyState which is an ugly method.</p>
