Disable start menu on LWIN keypress
<p>The following code is to test the LWin keyup function in C# when the form is active. It's working fine and now when the form is active I need only the function alone has to take place and whenever I click on Lwin button start menu should not open. How can I achieve this?</p>

<pre><code>private void Form1_KeyUp(object sender, KeyEventArgs e)
        {
            if (e.KeyCode == Keys.LWin)
            {
                MessageBox.Show("Function working!");
            }
        }
</code></pre>
