I\'ve built a custom control that I\'m trying to send input to. It will accept mouse input and report MouseDown, MouseMove and MouseUp correctly, but for whatever reason, i
A few things to try:
MouseDown
, call Windows.SetFocus(Handle)
. In my experience, the WinAPI function SetFocus
often works better than the VCL's SetFocus
method.WM_GETDLGCODE
message, reply with Message.Result := Message.Result or DLGC_WANTCHARS or DLGC_WANTARROWS or DLGC_WANTTAB or DLGC_WANTALLKEYS
;