comparison mac/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
1308 * Parameters: 1308 * Parameters:
1309 * vertical: TRUE or FALSE if scrollbar is vertical. 1309 * vertical: TRUE or FALSE if scrollbar is vertical.
1310 * increments: Number of increments available. 1310 * increments: Number of increments available.
1311 * id: An ID to be used with dw_window_from_id() or 0L. 1311 * id: An ID to be used with dw_window_from_id() or 0L.
1312 */ 1312 */
1313 HWND API dw_scrollbar_new(int vertical, int increments, ULONG id) 1313 HWND API dw_scrollbar_new(int vertical, ULONG id)
1314 { 1314 {
1315 HWND hwnd; 1315 HWND hwnd;
1316 CreateScrollBarControl(CreationWindow, &CreationRect, 0, 0, increments, increments, FALSE, 0, &hwnd); 1316 CreateScrollBarControl(CreationWindow, &CreationRect, 0, 0, increments, increments, FALSE, 0, &hwnd);
1317 return hwnd; 1317 return hwnd;
1318 } 1318 }