I tried to issue ds_SendPosition right after positioning the window, but to no avail. What am I doing wrong?
The agent is controlled by an OCX on a hidden window. The problem you may be experiencing is that the Agent window or another window (like the splashscreen) has the focus and not the window that you are calling the function from. Call settarget before doing the ds_SendPosition (and make sure that you’re not omitting the parameters when calling ds_SendPosition).