Disable maximize button for displayed image window

asked 2014-04-03 04:15:50 -0500

vishal733 gravatar image

updated 2014-04-03 04:28:23 -0500

berak gravatar image

I want to disallow the user from resizing a displayed image window.

One method I am already employing is to create window with following parameter:


CV_WINDOW_AUTOSIZE disables resizing of window by dragging.

However, I the window still shows a maximize button, which let's the user maximize the window to full screen. How can I disable this maximize button?

edit retag flag offensive close merge delete


Not possible in OpenCV. The interface is more for debugging purposes. If you need the possibility to adapt GUI interfaces use a language designed for that like Qt.

StevenPuttemans gravatar imageStevenPuttemans ( 2014-04-03 04:56:05 -0500 )edit