Jump to content
  • Advertisement


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


Has anyone else had this problem?

This topic is 5234 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

  • Advertisement

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!