Itseez/opencv — pull request #3448 by Ashod (2014-11-25 23:37:04+00:00)
Title: highgui: Improved Trackbar

I've made 3 (small) improvements/fixes to the Highgui project:

1. Added support for changing the trackbar's max count after creation. Useful for dynamically changing the range.

2. Using the correct, Windows TBBUTTONINFO, instead of the custom one. This fixes incorrect trackbar width due to incorrect struct "version."

3. Replaced the deprecated CreateToolbarEx, which avoids a warning (on newer VS) and a library dependency.