In Windows 7, you can drag a typical window to the top of your screen and you'll see an outline of the window maximized. If you let go, Windows will maximize the form. Likewise, you can take an already maximized window and "pull" it down to restore it to the normal windowstate. I'd like to leverage these enhancements in a borderless form within my C# WinForms app.
My form is borderless so I can create a custom titlebar and minimize/maximize/close buttons. I can get my form to move by dragging the titlebar but I don't know how to plug into the Windows 7 enhancements that give me the maximize outline or the "pull down" feature.
Any suggestions? Thanks!