comparison win/dw.c @ 561:c0a708e2cba3

Removed dw_percent_get_range() to simplify coding. The range is now always 0 to 100 no matter what platform or widget size.
author bsmith@81767d24-ef19-dc11-ae90-00e081727c95
date Wed, 21 Apr 2004 05:33:51 +0000
parents 1a210e2f214b
children f6de197ecbe9
comparison
equal deleted inserted replaced
560:7ca86c417a58 561:c0a708e2cba3
5970 void API dw_mle_thaw(HWND handle) 5970 void API dw_mle_thaw(HWND handle)
5971 { 5971 {
5972 } 5972 }
5973 5973
5974 /* 5974 /*
5975 * Returns the range of the percent bar.
5976 * Parameters:
5977 * handle: Handle to the percent bar to be queried.
5978 */
5979 unsigned int API dw_percent_get_range(HWND handle)
5980 {
5981 return (unsigned int)SendMessage(handle, PBM_GETRANGE, (WPARAM)FALSE, 0);
5982 }
5983
5984 /*
5985 * Sets the percent bar position. 5975 * Sets the percent bar position.
5986 * Parameters: 5976 * Parameters:
5987 * handle: Handle to the percent bar to be set. 5977 * handle: Handle to the percent bar to be set.
5988 * position: Position of the percent bar withing the range. 5978 * position: Position of the percent bar withing the range.
5989 */ 5979 */