1

I feel a little silly asking this, seems pretty simple but I can't find the solution anywhere. I have a trackbar made in visual studio 2008 and I want to use it to adjust an image threshold but I can't find the code to retrieve the sliders/markers position. Any help would be much appreciated and I am using C++

Georg Fritzsche
  • 97,545
  • 26
  • 194
  • 236
Ruth
  • 31
  • 3

1 Answers1

1

For raw Win32, send the trackbar a TBM_GETPOS message.

Trackbar messages: http://msdn.microsoft.com/en-us/library/ff486075%28VS.85%29.aspx

jamesdlin
  • 81,374
  • 13
  • 159
  • 204