Sign in to follow this  
wforl

SetScrollInfo calls WM_SIZE

Recommended Posts

Why does calling SetScrollInfo() end up issueing a WM_SIZE event?

It only seems to happen when when SIF_RANGE is used.

Share this post


Link to post
Share on other sites
I have a some other logic that I use on a WM_SIZE event, specifically the resizing of child windows. I dont want to do that when only the scrollbar has chnaged its range as that has no affect on the childwindows. Is there a way I can determine whether the message was created due to a range change?

Share this post


Link to post
Share on other sites
Quote:
Is there a way I can determine whether the message was created due to a range change?

Not that I know of, not without subclassing the scrollbar window.

Share this post


Link to post
Share on other sites

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