Send Right-Click to Application

How can I send a right-click to an application using C++? This program would need no user input; it would be only used to automate a particular task. I would within the code define the x,y coordinates of the mouse. This particular application does not recognize Shift+F10 as a right click. Any ideas?
Last edited on
Topic archived. No new replies allowed.