Sign in to follow this  

Resizing Window

This topic is 3863 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I'm resizing the device's window in the WindowProc on the WM_SIZE event and then resetting the device. Everything works fine, however I've noticed that the WM_SIZE event is triggered every time the mouse moves during a resize. In other words, if the user grabs the lower right corner of the window and drags it down to make it bigger, this causes about 20 WM_SIZE events to be fired. Therefore my device is being resized and reset 20 times. I'm wondering, is there any way to respond to some sort of resizing complete event instead. So when the user finishes resizing and releases the mouse button, that is when I want to resize and reset the device. So it only happens once at the end of the drag. I hope that makes sense. Any help or ideas on how to approach this problem is very much appreciated.

Share this post


Link to post
Share on other sites

This topic is 3863 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this