I made a custom form with a panel to represent the top bar with custom controlbox and set FormBorderStyle to None.
Now I notice that the W7 Snap feature doesn't work on my form. I have no idea how to fix this, and Google isn't really helping this time.
You should be able to fix this by making some portion of your form behave like a title bar.
To do that, handle the
WM_NCHITTEST
message and returnHTCAPTION
.