开发者

How do I get the trackbar value?

开发者 https://www.devze.com 2022-12-24 04:02 出处:网络
I feel a little silly askin开发者_StackOverflow中文版g this, seems pretty simple but I can\'t find the solution anywhere.

I feel a little silly askin开发者_StackOverflow中文版g 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++


For raw Win32, send the trackbar a TBM_GETPOS message.

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

0

精彩评论

暂无评论...
验证码 换一张
取 消