Enabling dblclick on a form that uses WM_NCHITTEST

Giganews Newsgroups
Subject:Enabling dblclick on a form that uses WM_NCHITTEST
Posted by: D-Fan (D-Fan@antispam.com)
Date:Fri, 18 Jul 2008

I have a form that I am disabling the border and making it frameless.
the form will be to display messages much like a mail messenger
notifier.  I wanted to be able to drag the form around on the screen so
I capture the message WM_NCHITTEST.  No I want to enable the dblclick
behavior on the form but it is intercepted by the WM_NCHITTEST that
allows me to move the form.  Is there a way to enable the dblclick and
be able to move the window around on the form?

Help is appreciated.

Replies