VAN0 Posted March 17, 2014 Posted March 17, 2014 Hello.I'm trying determine the size (width/height) of scrollbars in a control (listview)Using _GUIScrollBars_GetScrollBarRect works great when scrollbars are shown, but if they are not shown, then the numbers are all over the place, and I can't figure out what they depend on.For example on one computer it could return [-1, 191700576, -1888, 0] on another computer with font scale in the system set to 125% it's [-1792, 670, 0, 1]On the computer with 125% font scale when only vertical scrollbar shown, the numbers for horizontal scrollbar return the same as for vertical...wtf!Maybe there is a better way get dimensions of scrollbars?Thank you
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now