Link to home
Start Free TrialLog in
Avatar of PhotoCompManager
PhotoCompManager

asked on

Remove scroll bars from mdi parent

How can I remove the scrollbars from a mdi parent?

I found the code below, but it actuall adds scrollbars, whether or not they are needed.
Declare Function ShowScrollBar Lib "user32" (ByVal hwnd As IntPtr, ByVal wBar As Integer, ByVal bShow As Integer) As Integer

            ShowScrollBar(mainForm.Handle, 3, False)

Open in new window

SOLUTION
Avatar of Dana Seaman
Dana Seaman
Flag of Brazil image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial