<div dir="ltr">I'd like to forward a TLMVScroll message to the parent component as a workaround for controls preventing parents from receiving mouse wheel events (I couldn't find out how to let the parents receive them).<div><br></div><div>The problem is that the handler is</div><div><br></div><div><font face="monospace, monospace">PROCEDURE TWhatever.WMVScroll(VAR Message : TLMVScroll);</font><br></div><div><br></div><div>and I need to put it in</div><div><br></div><div><font face="monospace, monospace">FUNCTION SendMessage(HandleWnd: HWND; Msg: Cardinal; WParam: WParam; LParam: LParam): LResult;</font><br></div><div><br></div><div>Or am I missing a more suitable procedure? Why is there no</div><div><br></div><div><span style="font-family:monospace,monospace">SendMessage(</span><span style="font-family:monospace,monospace">Message : TLMVScroll);</span><br></div><br>which would do exactly this?<div><br></div><div><br></div><div><br></div><div>My workaround is to scroll manually, like</div><div><br></div><div><font face="monospace, monospace">TScrollingWinControl(Parent).ScrollBy (0, ScrollAmount);</font><br></div><div><br></div><div>but this feels stupid as it duplicates the <font face="monospace, monospace">ScrollAmount</font> computation.</div><div><br></div><div><br></div></div>