comparison win/dw.c @ 511:80dbd5a1f403

Removed the increments parameter from dw_scrollbar_new().
author bsmith@81767d24-ef19-dc11-ae90-00e081727c95
date Tue, 09 Mar 2004 03:54:21 +0000
parents 710f82598210
children 7755599311d4
comparison
equal deleted inserted replaced
510:710f82598210 511:80dbd5a1f403
4657 * Parameters: 4657 * Parameters:
4658 * vertical: TRUE or FALSE if scrollbar is vertical. 4658 * vertical: TRUE or FALSE if scrollbar is vertical.
4659 * increments: Number of increments available. 4659 * increments: Number of increments available.
4660 * id: An ID to be used with dw_window_from_id() or 0L. 4660 * id: An ID to be used with dw_window_from_id() or 0L.
4661 */ 4661 */
4662 HWND API dw_scrollbar_new(int vertical, int increments, ULONG id) 4662 HWND API dw_scrollbar_new(int vertical, ULONG id)
4663 { 4663 {
4664 HWND tmp = CreateWindow(SCROLLBARCLASSNAME, 4664 HWND tmp = CreateWindow(SCROLLBARCLASSNAME,
4665 "", 4665 "",
4666 WS_CHILD | WS_CLIPCHILDREN | WS_VISIBLE | 4666 WS_CHILD | WS_CLIPCHILDREN | WS_VISIBLE |
4667 (vertical ? SBS_VERT : SBS_HORZ), 4667 (vertical ? SBS_VERT : SBS_HORZ),