Partager via


Mouse Navigation

DVD-Video navigation is designed around the idea that users will navigate through on-screen buttons by moving the highlight from one button to the next using up, down, left, and right directional keys. This is the navigation method most commonly found in commercial DVD-Video players. Each button's navigational neighbors are permanently defined during the DVD-Video authoring process. In this navigation scheme, a user can only cause the highlight to move to one of a button's neighbors. A button can have, at most, four neighbors.

The DVD-Video API allows you to create applications that allow users to select any button on the screen at any time using a mouse, stylus, or other random-access pointing device. This allows users to completely bypass the navigational network authored in the DVD-Video recording. In this random-access navigation, your application can determine which button users selected by comparing the screen coordinates of their selection point to the button layout information defined in the DVD-Video recording. Once you have determined which button a user chose, you can pass that button number to IDVDNavigationManager::ButtonSelectDirect to activate the choice.

See Also

Advanced DVD Player Application Topics

 Last updated on Thursday, April 08, 2004

© 1992-2003 Microsoft Corporation. All rights reserved.