J
J. A. Zanetti
Hello NG.
For the application i'm working on, i need to hide the
start icon on every form. Maximizing the form with no
border style, no control box and no menu works very well,
as forms appear as full-screen, thus hiding the start icon
and maximizing the available screen area at the same time.
With forms that need a SIP, though, the trick doesn't
work: SIP needs for a menu to exist on the form, and when
a menu exist the start icon becomes visible too.
I knew about the SHFullScreen API, and it worked fine with
eVB, but with VB .NET i can't find the form's handle (why
don't form have a hwnd property?). I found something about
GetCapture or FindWindow to retrieve the form's handle,
but i keep getting a MissingMethodException when i invoke
them.
Maybe i'm stuck on something very simple, but i can't get
over it.
Can anyone help? Thank you all very much in advance.
Best regards,
J.
For the application i'm working on, i need to hide the
start icon on every form. Maximizing the form with no
border style, no control box and no menu works very well,
as forms appear as full-screen, thus hiding the start icon
and maximizing the available screen area at the same time.
With forms that need a SIP, though, the trick doesn't
work: SIP needs for a menu to exist on the form, and when
a menu exist the start icon becomes visible too.
I knew about the SHFullScreen API, and it worked fine with
eVB, but with VB .NET i can't find the form's handle (why
don't form have a hwnd property?). I found something about
GetCapture or FindWindow to retrieve the form's handle,
but i keep getting a MissingMethodException when i invoke
them.
Maybe i'm stuck on something very simple, but i can't get
over it.
Can anyone help? Thank you all very much in advance.
Best regards,
J.