Happens when the user clicks the right mouse button in a window. Typically, you would present a pop-up menu at the position where the mouse was clicked, pertinent to the window clicked upon.


Args

ARG(1) is a handle to the window clicked upon.

ARG(2) is the X position where the mouse was clicked (relative to the upper left corner of the desktop screen), and ARG(3) is the Y position.


Notes

See also RBUTTONDOWN, NCRBUTTONDOWN, SYSCOMMAND.