The xmp parser for npctrade doesnt seem to be working properly, it always moves the mouse to the position of the button relative to 0,0
MOTD
Moderator: MacroQuest Developers
Code: Select all
CXWnd *button=((CSidlScreenWnd*)pGiveWnd)->GetChildItem("whatever the screen id for the button is");
((CSidlScreenWnd*)pGiveWnd)->WndNotification(button,XWM_LCLICK,0);