ScrollWindowEx
-
Probably a simple question. i'm trying to call ScrollWindowEx as a method of the object CListBox yet the list box is not scrolling to the position I would expect it to go. So far i have this, ScrollWindowEx(0, rt.bottom, &rt, &rt, NULL, &rt, SW_ERASE | SW_INVALIDATE); Perhaps I'm misinterpreting the parameters. Anyone have some familiarity with this method? Thanks! "Why are we hiding from the police, Daddy?" "We use VI, son. They use Emacs."
-
Probably a simple question. i'm trying to call ScrollWindowEx as a method of the object CListBox yet the list box is not scrolling to the position I would expect it to go. So far i have this, ScrollWindowEx(0, rt.bottom, &rt, &rt, NULL, &rt, SW_ERASE | SW_INVALIDATE); Perhaps I'm misinterpreting the parameters. Anyone have some familiarity with this method? Thanks! "Why are we hiding from the police, Daddy?" "We use VI, son. They use Emacs."
Use CListBox::SetTopIndex. Tomasz Sowinski -- http://www.shooltz.com
** Putt knot yore thrust inn spel chequers. **