How to make top and full-screen window/form in VB2008
Posted by Admin L in .NET Programming on 17-07-2011. Tags: .NET Programming Experience
Author: Nosa Lee
Original Address: https://www.seeksunslowly.com/vb2008-top-full-screen-window
To reprint this article, please indicate the source, thank you.
_____________________________________
It seems very difficult, and seems to need to use Win32 API, in fact not the case.
It is very easy to make the top and full-screen window/form in VB2008, only need to set the related properties.
Method
Top: set Form.TopMost = True
Top and Full-Screen: Set Form.FormBorderStyle = None, TopMost = True, WindowState = Maximized.