Disable MDI Scrollbars

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top