Original Post
Hiya all.. didnt really know what to put in the subject.. Well im developing a UI System that i will implement in my 3DEngine.. with buttons, textboxes and so on.. i got the rendering working smoothly and i got it working with transparent textures and so on.. But i got a problem with the Mouse handling.. The mouse X, Y from the MSGPROC dosent correspond with the X, Y on the screen.. If i have made a button and placed it at x:200, Y:200 and i move the mouse down to that X, Y pos.. the button is missplaced.. and the missplacement gets larger the bigger the x, y value is.. I have check that the X, Y pos is correct when the object is drawn.... What could cause this ?? I am drawing it at RHW (0.0f) and Z (0.0).. Its probobly something simple.. but i just cant find it ??.. And u one got any ideas..?? Thx for the help :D