I have a button that calls TrackPopupMenuEx and I want to use SetCursorPos to put the cursor on the top item of the popup. But Windows relocates the popup when it doesn't fit entirely on the desktop ...