Mercurial > hg > xemacs-beta
comparison src/scrollbar-msw.c @ 290:c9fe270a4101 r21-0b43
Import from CVS: tag r21-0b43
author | cvs |
---|---|
date | Mon, 13 Aug 2007 10:36:47 +0200 |
parents | e11d67e05968 |
children | 19dcec799385 |
comparison
equal
deleted
inserted
replaced
289:6e6992ccc4b6 | 290:c9fe270a4101 |
---|---|
120 new_slider_size, new_slider_position,inhibit_slider_size_change); | 120 new_slider_size, new_slider_position,inhibit_slider_size_change); |
121 #endif | 121 #endif |
122 | 122 |
123 /* These might be optimized, but since at least one will change at each | 123 /* These might be optimized, but since at least one will change at each |
124 call, it's probably not worth it. */ | 124 call, it's probably not worth it. */ |
125 SCROLLBAR_MSW_INFO (sb).cbSize = sizeof(SCROLLINFO); | |
125 SCROLLBAR_MSW_INFO (sb).nMin = new_minimum; | 126 SCROLLBAR_MSW_INFO (sb).nMin = new_minimum; |
126 SCROLLBAR_MSW_INFO (sb).nMax = new_maximum; | 127 SCROLLBAR_MSW_INFO (sb).nMax = new_maximum; |
127 SCROLLBAR_MSW_INFO (sb).nPage = new_slider_size + 1; /* for DISABLENOSCROLL */ | 128 SCROLLBAR_MSW_INFO (sb).nPage = new_slider_size + 1; /* for DISABLENOSCROLL */ |
128 SCROLLBAR_MSW_INFO (sb).nPos = new_slider_position; | 129 SCROLLBAR_MSW_INFO (sb).nPos = new_slider_position; |
129 SCROLLBAR_MSW_INFO (sb).fMask = (inhibit_slider_size_change | 130 SCROLLBAR_MSW_INFO (sb).fMask = (inhibit_slider_size_change |