title: OpenCV window must appear in front of all windows
body: <p>I have a GUI dialog box, containing some buttons, which when clicked will call a function to display an image. However, when the button is clicked, OpenCV's window is displayed behind the dialog box. I want the OpenCV window to appear in front of it when the button is clicked.</p>
  
  <p>Here is the snippet of code where window is created and image is displayed.</p>
  
  <pre><code>    cv2.namedWindow('image',0)
      cv2.resizeWindow('image',1200,720)
  
      while(1):
          cv2.imshow('image', self.img_res)
          k = cv2.waitKey(1) &amp; 0xFF
          if k == ord('m'):
              res = 1
              break
          elif k == 27:
              break
  </code></pre>
  
  <p>I have seen some examples with the <strong>win32gui</strong> module, but I'm not sure how to use it here. </p>
  
  <p>(I'm using Python 2.7 in Windows)</p>