SendMessage after 1 second

English support forum

Moderators: Stefan2, white, sheep, Hacker

Post Reply
Hurdet
Senior Member
Senior Member
Posts: 432
Joined: 2003-05-10, 18:02 UTC

SendMessage after 1 second

Post by *Hurdet » 2019-08-04, 09:00 UTC

When i send:

HWND w = WindowFromPoint(pt);
ScreenToClient(w, &pt);
SendMessage(w, WM_RBUTTONDOWN, 0, MAKELPARAM(xStartC, yStartC));
SendMessage(w, WM_MOUSEMOVE, MK_RBUTTON, MAKELPARAM(pt.x, pt.y));

TC show the "context menu after 1 second"
It is as if it did not notice that the mouse has been moved.
I not have this problem with SendInput but i would to use SendMessage.
Do it is possible to send button down message and mode without show context menu?

Post Reply