Archived

This topic is now archived and is closed to further replies.

Has anyone else had this problem?

This topic is 4955 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

hello. im using the directinput code from Jim Adam''s Programming RPGs book to get mouse coordinates. it works fine until i resize the screen. if i click on the middle of my screen to draw a rectangle, it gets drawn in the middle of the window even though the middle of the window is no longer at the middle of my screen. the input code seems to be compensating for the screen being squished by squishing the mouse coords. has anyone else had this problem? also, is it possible to stop directX from squishing the display when i resize? in most window apps the view just gets cutoff when i resize the window but directx always shows everything by just stretching or squishing it. thanks for any help

Share this post


Link to post
Share on other sites