C++ , Windows programming
<p>I am trying to figure out a thing and it's killing me that i don't find how to do it . </p>

<p>I got a code in which if <code>VK_RETURN</code> is pressed a plane explodes .
The thing is i want the computer to do the instructions that the <code>VK_RETURN</code> does if a specific condition is met , let's say i got </p>

<pre><code>if (calculus == calculus2)
</code></pre>

<p>and if that condition is satisfied i want the system to do the things that it usually does when i press the <code>RETURN</code> key .
Is there any way to make the computer " press " the return key ?</p>

<p>Thanks !</p>
