Click to return to the Reusing Browser Technology home page    
IHTMLElement2::clearAttri...     IHTMLElement2::createCont...     IHTMLElement2 Interface    
Web Workshop  |  Reusing Browser Technology

IHTMLElement2::componentFromPoint Method


Returns the component located at the specified coordinates.

Syntax

HRESULT componentFromPoint(
    long lCoordX,
    long lCoordY,
    BSTR *psComponent
);

Parameters

lCoordX
Long variable that specifies the client window coordinate of x, in long format.
lCoordY
Long variable that specifies the client window coordinate of y, in long format.
psComponent
Address of a string (BSTR) that contains the return value. See the componentFromPoint method for details.

Return Value

Returns S_OK if successful, or an error code otherwise.



Back to topBack to top

Did you find this topic useful? Suggestions for other topics? Write us!

© 1999 Microsoft Corporation. All rights reserved. Terms of use.