Hello,
i suspected it doesn't work with linux or mac os. But I had not found the documentation specifying it..
So I'll use the classic onMouseDown and co in a less elegant way.
Best regards. IW
Out of curiosity: you've said it doesn't work but is that code successfully executed (i.e. if you put a debugger on that SendMessage())?
The documentation is phrased as though it's intended to be used if you're recompiling something which works on Delphi on the same platform. I am by no means an LCL expert, and responded primarily to make sure your question remained visible in the "Recent" list... grepping the sources it looks as though LM_NCLBUTTONDOWN is defined but literally never used.
OTOH LM_MOUSEMOVE appears in the code for all the widget sets.
MarkMLl