I need to prevent a form from becoming TOO big. The form is a borderless form.
Using SubClassing, I can control the size of a form that has a borderstyle of SizeAble....
However, using the code here: http://support.microsoft.com/kb/q185733/
, a borderless form does not respond to the subclassing procedure.
What I'm looking for here is a way to prevent a borderless form from covering the taskbar when maximized. Regular subclassing will not accomplish this. What makes a borderless form different from a sizeable one, other than the border style?
I'm aware of a bug in VB that will cause borderless form to always cover the taskbar, but that is an old bug and I'm using XP with Visual Studio SP6. I would figure that bug should be fixed by now.
Using the code in the link above, can anyone here find a way to maximize a borderless form and not have it cover the taskbar???
P.S. A quick and good answer will be boosted to 500 (2000) points.