Gets the x-coordinate of the mouse pointer, relative to the last positioned ancestor element.
HRESULT IDOMMouseEvent::get_x(long *p);
- Pointer to a variable of type long that receives the x-coordinate.
Returns S_OK if successful, or an error value otherwise.
A positioned element is an element whose position property is set to
fixed. For more information about element positioning, see About Element Positioning.