I noticed that the message WM_NCHitTest isn't sent to a form when the cursor is inside the caption bar (not on the border).
I tried to intercept it using either
procedure WMNCHitTest(var Message: TWMNCHitTest); message WM_NCHITTEST;
or
procedure WndProc(var Message: TMessage); override;
According to MSDN I was expecting to receive it for any point, with no blind spots.
Did I miss something or this is the intended behaviour?
I'm using Delphi 2010 on Windows 7, with Aero on.