C# Windows Mouse Control : <p>I am coding an application for a school project that said "Make something you are proud of without any prior knowledge or experience", and have encountered a situation where my lack of information counts as a roadblock.</p>

<p>I do not know and could not find any useful information on how the windows mouse wheel works, and how to include it in my program.</p>

<p>To simplify the issue: I need to control the mouse with code, the buttons work well, but I do not have a clue on how the mouse wheel works, and how I should implement it's movement.</p>

<p>The method I use for mouse events:</p>

<pre><code>[DllImport("user32.dll")]
private static extern void mouse_event(int dwFlags, int dx, int dy, int dwData, int dwExtraInfo);
</code></pre>

<p>If anyone could explain how the mouse wheel works in general, or how I should use the method to control it I would be very thankful.</p>
