Can anyone identify Window message value &H118?
I was subclassing an Edit control to make it behave like a list
box so that one line, and only one, is always highlihted
(selected). Trouble was, when the left mouse button was
pressed on a line (thus highlighting line) and held down, the
selection got truncated at the mouse/caret position. I
eventually traced problem to be due to wMsg = &H118.
Swallowing this message in the subclassing procedure (ie. do
nothing, return zero) cured the problem.
Keith
------------------
I was subclassing an Edit control to make it behave like a list
box so that one line, and only one, is always highlihted
(selected). Trouble was, when the left mouse button was
pressed on a line (thus highlighting line) and held down, the
selection got truncated at the mouse/caret position. I
eventually traced problem to be due to wMsg = &H118.
Swallowing this message in the subclassing procedure (ie. do
nothing, return zero) cured the problem.
Keith
------------------
Comment