I was wondering on how to click on the form anywhere and be able to drag it.
I found a sample on how to do this, but it's in C++. Here's what it looks like:
void CNCHitDlg::OnLButtonDown(UINT nFlags, CPoint point)
{
CDialog::OnLButtonDown(nFlags, point);
// fake windows into thinking your clicking on the caption does not
// maximize on double click
PostMessage( WM_NCLBUTTONDOWN, HTCAPTION, MAKELPARAM( point.x, point.y));
}
If anyone knows how to translate this, that would be a huge help
thank you.