Active Member Koray 2002 Posted February 24, 2015 Active Member Share Posted February 24, 2015 #solved Thanks for helps, problem due from ui element settings Link to comment Share on other sites More sharing options...
Frozen 189 Posted February 24, 2015 Share Posted February 24, 2015 Try making the inventory window the parent Link to comment Share on other sites More sharing options...
Active Member Koray 2002 Posted February 24, 2015 Author Active Member Share Posted February 24, 2015 Try making the inventory window the parent Thanks for reply, Now i tried with self.wndItem parent but the same problem continues Link to comment Share on other sites More sharing options...
Premium Galet 510 Posted February 24, 2015 Premium Share Posted February 24, 2015 wndTextGetCursorPosition I have this function, but I don't know how to help you :x Link to comment Share on other sites More sharing options...
Frozen 189 Posted February 24, 2015 Share Posted February 24, 2015 Your using positioning it every time you attach a item right? is that in purpose? Or you just a way for you to test? Link to comment Share on other sites More sharing options...
Frozen 189 Posted February 24, 2015 Share Posted February 24, 2015 I maded two tests with a onupdate , one with it in a board parent, and another with self parent. And when the parent is the board, i think the wndMgr.GetMousePosition() gets the position of the board and the poisiton of the mouse, so what happens is when you move the board is like if the mouse is changing his relative position too.. Then i tried with the self parent and worked just fine, because the wndMgr.GetMousePosition() was only getting the value of the mouse position. Sorry for my bad explanation, but what i think that the code is assuming that the wnd is not the client, but a window.. I dont know if im right but i think is this the reason... Sorry for my bad english, I hope you understanded what i meant to say, Kind Regards, Frozen Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now