[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[pygame] No VideoResize event on restore from maximise
- To: pygame-users@xxxxxxxx
- Subject: [pygame] No VideoResize event on restore from maximise
- From: "Mike C. Fletcher" <mcfletch@xxxxxxxxxx>
- Date: Sat, 19 Feb 2005 23:20:10 -0500
- Delivered-to: archiver@seul.org
- Delivered-to: pygame-users-outgoing@seul.org
- Delivered-to: pygame-users@seul.org
- Delivery-date: Sat, 19 Feb 2005 23:20:37 -0500
- Reply-to: pygame-users@xxxxxxxx
- Sender: owner-pygame-users@xxxxxxxx
- User-agent: Mozilla Thunderbird StumbleUpon/1.994 (Windows/20041201)
If I open a PyGame window and click on the Windows "maximise" box in the
upper-right corner, I get the expected VIDEORESIZE event. However, if I
then click on the "restore" box of that maximised window, I don't get
another VIDEORESIZE event. Is there another event I should be watching for?
This is on Win2K, PyGame 1.6, btw.
Without notification of the resize PyOpenGL code goes a little crazy (it
still thinks it's drawing into the large window when it's drawing into
the tiny window) :) .
Thoughts appreciated,
Mike
________________________________________________
Mike C. Fletcher
Designer, VR Plumber, Coder
http://www.vrplumber.com
http://blog.vrplumber.com
PyCon is coming...