Capturing Mouse Messages - Message.XPos or Message.Pos.x?
<p>I have come across this a few times whilst writing custom controls but having come across it again today I felt the need to ask.</p>

<p>Basically when capturing for example:</p>

<pre><code>procedure WMLMouseDown(var Message: TWMLButtonDown); message WM_LBUTTONDOWN;
procedure WMMouseMove(var Message: TWMMouseMove); message WM_MOUSEMOVE;
</code></pre>

<p>To read the X and Y mouse coordinates from the procedure  we have access to either <code>Message.XPos</code> or <code>Message.Pos.x</code> both of which are declared as <code>smallint</code>.</p>

<p>Is there any reason to choose one over the other or do they basically just serve the same purpose and therefore it comes down to choice as to which to use?</p>