Retrieves the horizontal position of the mouse hit relative to the top of the client area of the window, excluding window decorations or scroll bars.
Syntax
HRESULT get_clientX( long *p );
Parameters
- p
- Address of a long integer variable that receives the position. For details, see the clientX property.
Return Value
Returns S_OK if successful, or an error code otherwise.