Changeset 1281 for trunk/src/user32/listbox.cpp
- Timestamp:
- Oct 14, 1999, 11:22:43 AM (26 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/user32/listbox.cpp
r1265 r1281 1 /* $Id: listbox.cpp,v 1. 4 1999-10-13 14:24:24sandervl Exp $ */1 /* $Id: listbox.cpp,v 1.5 1999-10-14 09:22:39 sandervl Exp $ */ 2 2 /* 3 3 * Listbox controls … … 201 201 else 202 202 { 203 info.nMin = 0; 204 info.nMax = descr->nb_items - 1; 205 // info.nPos = descr->top_item; 206 info.nPos = descr->selected_item - 1; 203 info.nPos = descr->top_item; 204 207 205 info.nPage = LISTBOX_GetCurrentPageSize( hwnd, descr ); 208 206 info.fMask = SIF_RANGE | SIF_POS | SIF_PAGE; 207 info.nMin = 0; 208 // info.nMax = descr->nb_items - info.nPage; 209 info.nMax = descr->nb_items; 210 209 211 if (descr->style & LBS_DISABLENOSCROLL) 210 212 info.fMask |= SIF_DISABLENOSCROLL;
Note:
See TracChangeset
for help on using the changeset viewer.