Поделиться через


IDVDNavigationManager::ButtonSelectDirect (Windows Embedded CE 6.0)

1/6/2010

This method allows your application to select a button by specifying its index number from the button information table (BTNIT).

This method is useful in windowed playback applications that allow the user to select on-screen buttons by using a mouse, stylus, or other random access pointing device.

Syntax

HRESULT ButtonSelectDirect(
  BYTE byteButtonNumber
);

Parameters

  • byteButtonNumber
    [in] The selected button number.

Return Value

If the function succeeds, the return value is S_OK.

Remarks

You can determine which button an end-user selected by comparing the screen coordinates of their selection point to the screen coordinates of the buttons defined in the DVD-Video recording.

See Mouse Navigation for more information.

Requirements

Header dvdnav.h, dvdnav.idl
Library Ddvdids.lib
Windows Embedded CE Windows CE .NET 4.0 and later

See Also

Reference

IDVDNavigationManager