On 19.06.2005, at 11:09, Klaus Schmidinger wrote: > Udo Richter wrote: > >> Klaus Schmidinger wrote: >> >>> Please try the attached code sequence, which is a drop in >>> replacement >>> for the functions cOsdMenu::CursorUp/Down() and cOsdMenu::PageUp/ >>> Down(). >>> >> Just to make sure this is intended behavior: >> Before, MenuScrollPage=true: >> CursorDown on last line of menu moves window one complete page down, >> focus stays on last line. (eg. each CursorDown scrolls one page >> from now on) >> After, MenuScrollPage=true: >> CursorDown on last line of menu moves window one complete page down, >> focus is on first line. >> : > > The intention of Patrick's change (as far as I understand it) was > to make > sure that, if the cursor is at item N, a "cursor down" positions it at > item N + 1 (N -> N - 1 for "cursor up"). I have to concur with > Patrick on > this, and that's how it is implemented now. Yes, the cursor moves freely while inside of a single menu "page", and keeps it position when the menu is scrolled 1 item up/down. Patrick -- Patrick Gleichmann (mailto:patrick@xxxxxxxxxxxx) PGP key > http://www.feedface.com/patrick/pubkey