SendMessage after 1 second

English support forum

Moderators: sheep, Hacker, Stefan2, white

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

SendMessage after 1 second

Post by *Hurdet »

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