IDVDNavigationManager::ButtonSelectDirect

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.

HRESULT ButtonSelectDirect(
  BYTE byteButtonNumber
);

Parameters

  • byteButtonNumber
    [in] The selected button number.

Return Values

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

OS Versions: Windows CE .NET 4.0 and later.
Header: Dvdnav.h, Dvdnav.idl.
Link Library: Ddvdids.lib.

See Also

IDVDNavigationManager

 Last updated on Thursday, April 08, 2004

© 1992-2003 Microsoft Corporation. All rights reserved.