79512476

Date: 2025-03-16 11:12:57
Score: 1.5
Natty:
Report link

In WM_NCLBUTTONDOWN , (if called before the base.WndProc) you can force m.WParam to 1 (client area) in place of 2(title area). This will avoid the capture of the mouse by the desktop manager.

I do the same for WM_NCLBUTTONUP, and use a timer based on GetDoubleClickTime() to manage either click or double click...

Reasons:
  • No code block (0.5):
  • Low reputation (1):
Posted by: Laurent D