Is there way to use IsVisible to determine if a form is sized too large and the scrollbars on the main Access window have turned on...?

I have set up a subroutine that automatically sizes a form, but it gets confused if the main scrollbars are on.

I have a WIN32 API call to GetSystemMetrics(SM_CXVSCROLL) to take into account the width of the scrollbars when I size my form, but I can't find a way to find out whether or not they are actually turned on.