Tim Roberts wrote the following on 12/09/2006 08:27 PM:
> The source code could answer that question for sure, but I doubt that it is
> CaptureMouse doing it, and I know the SetCapture API (which it eventually
> calls) does not.  Is it possible that your clicking caused some part of the
> app to become unhidden, or caused some button to change state?

Indeed. The EVT_PAINT came from self.Refresh(False).  I mistakenly 
thought that False implied that it would not refresh, but the docs 
clearly state (which I had not read) otherwise.  To reiterate, 
CaptureMouse does not send an EVT_PAINT.
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to