Trackbar - do not call function until LMB released

asked 2016-03-31 07:51:16 -0600

Nbb gravatar image

Hello,

My app with the trackbar lags everytime I make a change to the value as there is a lot of processing being done. Is there anyway I can have the program not run the function until the left mouse button is released ? The setMouseCallback function only gets invoked when the mouse click is in the display window itself so I was not able to try that out.

A link or guide to any C++ / OpenCV method would be nice..

Thanks

edit retag flag offensive close merge delete

Comments

I found out about the GetKeyState function in C++ so I am going to investigate that

Nbb gravatar imageNbb ( 2016-03-31 08:12:22 -0600 )edit