Disable MDI Scrollbars

  • Thread starter Thread starter Carl Prentice
  • Start date Start date
C

Carl Prentice

Hi all!

Relating to an earier post I made.
I tried the EnableScrollBar API which didn't seem to work
for me. This is how I'm declaring it:

[ DllImport("user32.Dll", EntryPoint "EnableScrollBar") ]
public static extern bool EnableScrollBar(System.IntPtr
hWnd, int wSBflags, int wArrows);

Then using it like so:

EnableScrollBar(this.Handle, 3, 3);


If anyone has any success in disabling MDI parent
scrollbars then I'd love to know how you've done it!
Thanks,
Carl
 
Back
Top