A version of this page is also available for
This method uses the Top property to get the vertical position of the frame window relative to the screen, in pixels.
[out] Pointer to a long value that receives the screen coordinate of the top edge of the main window.
This method returns the standard values E_INVALIDARG, E_OUTOFMEMORY, E_UNEXPECTED, and E_FAIL, as well as the following:
The method completed successfully.
The DISPID is defined in piedocvw.h. Use this value to identify the event handler when implementing IDispatch::Invoke.
|Windows Mobile||Pocket PC for Windows Mobile Version 5.0 and later, Smartphone for Windows Mobile Version 5.0 and later|