quote:
Originally posted by matty
quote:
Originally posted by scutterman
code:
var Result2 = Interop.Call("user32.dll", "ShowWindow", WndHandle, "SW_SHOW");
~~Scutterman~~
SW_SHOW is not a string value it is an integer. Easiest way to find out what the values are is to google the following
define SW_SHOW
SW_SHOW's value is 5.
Why use a DLL at all when Patchou has supplies us with a read/write property to do it?
code:
PlusWndObject.Visible = true;
And then magically it ill appear. Make sure you change PlusWndObject to what the object actually is