Your program can be attached to a button WM_NCLBUTTONDBLCLK + wParam HTCAPTION ?
(WM_NCLBUTTONDOWN, WM_NCLBUTTONUP, WM_NCLBUTTONDBLCLK and WM_NCLBUTTONUP)
No, because the mouse hook does not expose this information I'm afraid.
Those messages apply to windows only and are not intercept-able by a mouse hook.
--[ Phil ]--
--[ Administrator & XMBC Author ]-- Logitech G9/G604/M720/MX518, Microsoft Intellimouse, Trust 16341 BT Mouse Windows 10 x64, AMD Ryzen 5900x, MSI x570 Tomahawk, 32GB DDR4,
nVidia RTX 2070s, Evo 970 1Tb NVME, 2x2TB WD Black (RAID1)
No no! I meant that you need not react to this event. It is necessary to emulate the sending of event data to the active window by pressing a button of the mouse. Try several times in a row for one active window - the result will please you.