Link to home
Create AccountLog 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
Create an account to see this answer
Signing up is free. No credit card required.
Create Account
SOLUTION
Link to home
membership
Create an account to see this answer
Signing up is free. No credit card required.
Create Account
ASKER CERTIFIED SOLUTION
Link to home
membership
Create an account to see this answer
Signing up is free. No credit card required.
Create Account