Maybe you can use the fact that Width property of a form does not include vertical scrollbar. IOW, the Width will get smaller by sysmetric(5) when vertical scrollbar is visible.
>Does anyone know of a way to check if the vertical scroll bar is active? I have a form that can be re-sized but if the height is shorter than the contents the scroll bar becomes active (or visible) and narrows the width of the form. I need to know when this happens so I can make the form wider by sysmetric(5).
--sb--