문제

So I have been developing a small program that uses forms for the users to use. The normal output should look like this:

Normal Display Output

Although, some users have been encountering odd bugs that I believe don't come from my code, or at least indirectly. There are a few panels that I created which are outside the viewing range of the window and I move these panels to their intended place for users to see on the form loading. It's easier for me to develop with instead of having panels stacking one over another. This works fine on my PC and everything is in place and display as it should. However as I said, a few users have been encountering this strange display bug:

Bug Display Output

Bug Display Output

What I first thought was that it was a Windows 8 bug, as if there was a difference between W7 and W8 form drawing. But I had other users reporting the same problem which were running W7. The bug doesn't draw the form cutoff the same way for everyone also...

I checked and rechecked my code to see if I could find a clue of what it is... but clearly nothing is stating that things move or display this way.!

Thanks for further help, this has been killing my brain.

도움이 되었습니까?

해결책

Could it be this Creating a DPI-Aware Application - either way you need to find a common thread between machines where it 'goes wrong'. If you can reproduce on your own machine then paring down the form to the bare minimum would be the next step.

This is how you change DPI in Windows http://www.sevenforums.com/tutorials/443-dpi-display-size-settings-change.html

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top