I am using the following code to move a border less form and it works just fine, however when I double click anywhere on the form, the form is maximized, how do I stop this happening?

vb Code:
  1. Const WM_NCHITTEST As Integer = &H84
  2.     Const HTCLIENT As Integer = &H1
  3.     Const HTCAPTION As Integer = &H2
  4.     Protected Overrides Sub WndProc(ByRef m As System.Windows.Forms.Message)
  5.         Select Case m.Msg
  6.             Case WM_NCHITTEST
  7.                 MyBase.WndProc(m)
  8.                 If m.Result = HTCLIENT Then m.Result = HTCAPTION
  9.                
  10.             Case Else
  11.                 'Make sure you pass unhandled messages back to the default message handler.
  12.                 MyBase.WndProc(m)
  13.         End Select
  14.     End Sub