Re:RichEdit MouseUp
Quote
> The MouseUp event does not fire, but MouseDown does.
> To recreate, start a new app, drop a richedit on the form, give it some
> lines, put a messagedlg in the mouseup event, and run. Hilight some text
> and when you let up on the mouse button nothing happens.
It is in fact a bit more complicated: when you select some text and then
mouse down and let go over the selection the OnMouseUp event *will* fire.
It does not do it if you do the same outside selected text. I don't know
why this happens, i could find nothing in the VCL code that would explain
it. Since TMemo does not show this behaviour i have the {*word*193} suspicion
that MS did cut corners in the rich edit controls code, e.g. handling the
text selection with an internal message loop that exist on WM_LBUTTONUP
*without* passing this message to the controls window proc.
Peter Below (TeamB) 100113.1...@compuserve.com)
No e-mail responses, please, unless explicitly requested!