comctl32: trackbar: Correctly set lSetMin and lSelMax.
commitde608991eacc944d63ae45bb418813e7f9af09cf
authorKeith Stevens <fozziethebeat@gmail.com>
Fri, 16 Mar 2007 05:04:45 +0000 (15 22:04 -0700)
committerAlexandre Julliard <julliard@winehq.org>
Fri, 16 Mar 2007 10:53:56 +0000 (16 11:53 +0100)
treecf6334d0a9f11b423543b89a822182ff67a7d1cf
parent86ea6b582088ea347c712be333b85f41aadb1026
comctl32: trackbar: Correctly set lSetMin and lSelMax.

Modify the behavior when the messages TBM_SETSEL, TBM_SETSELSTART, and
TBM_SETSELEND are sent and TBS_ENABLESELRANGE is not set.  When the
style TBS_ENABLESELRANGE is not set, Windows observed behavior is to
set the Selection Start and End values to 0, rather than leave them
unchanged.
dlls/comctl32/tests/trackbar.c
dlls/comctl32/trackbar.c