TPWindowToPage (Windows Embedded CE 6.0)

1/6/2010

This function converts points from a coordinate space that is relative to the screen to a coordinate space that is relative to the HTML window.

Syntax

HRESULT TPWindowToPage(
    HANDLE hTileProxy,
    INT32* px,
    INT32* py);

Parameters

  • hTileProxy
    [in] The TileProxy object.
  • px
    [in, out] Pointer to the x-coordinate.
  • py
    [in, out] Pointer to the y-coordinate.

Return Value

This function returns the standard values E_INVALIDARG, E_OUTOFMEMORY, E_UNEXPECTED, and E_FAIL, as well as the following:

  • S_OK
    The method completed successfully.

Remarks

You can use this function with TPSetViewPosition to scroll tiles.

Requirements

Header TileProxy.h
Library tileengine.dll
Windows Embedded CE Windows Embedded CE 6.0 R3

See Also

Reference

TPSetViewPosition
TPChangePos
TPGetViewPosition
TPGetViewVisBounds
TPGetViewDocSize

Other Resources

Internet Explorer Embedded Tiling Engine Functions
Customizing the Browser User Interface