Link to home
Start Free TrialLog in
Avatar of psft
psftFlag for United States of America

asked on

Windows Program dialog displays incorrectly

I've written a C# program that displays a dialog.  

On every computer that I've used it displays correctly.  

The issue is that someone using the program is oddly only able to see half the dialog.

(see attached image)

I'm guessing that there is some setting difference between their computer and ours but I'm not sure what?

I have XP Pro, SP2, it works in all screen resolutions.  

The problem is on  XP Pro; with a wide screen laptop; screen resolution: 1680x1050  

QUESTION: Why this happening?   How can I fix it?

Thanks,


Scott-S-Test.doc
Avatar of torimar
torimar
Flag of Germany image

It sometimes happens that display problems arise when users don't choose small or large system fonts (in the advanced display settings), but customize the size. Then, however, you see text running out of labels or not fitting onto buttons and all sort of visual mess.

In your case, this is a clear cut. So clear a cut that I should say it looks like being set up for display on dual monitors. But that, of course, your user should know.

This may sound far fetched, but are you absolutely certain they aren't playing a trick on you?
Avatar of Fernando Soto
Hi psft;

A couple of questions.

When you developed the program what was the Screen resolution set to on your system?
What is the size of the form when correctly displayed?
What is the screen resolution of the systems that it does work correctly?
What is the screen resolution of the systems that it does NOT work correctly?

Fernando
Avatar of psft

ASKER

I'm sure it's not a joke. . . .

I tried changing screen resolution, and switching to dual monitors with no luck being able to recreate it.
------------------------------------------

Not sure the exact screen resolution it was developed with.

The size of the form is expanded and reduced in the program with the largest the dialog is everbeing:
730, 580

They are having problems and just happen to be on 1680x1050 resolution

I have had it work on every resolution of mine: 1280x1024 , etc . . .  even 1920x1200
To your statement, "Not sure the exact screen resolution it was developed with.", If it was on your machine that it was developed on, what is the resolution setting?

To your statement, "The size of the form is expanded and reduced in the program with the largest the dialog is ever being: 730, 580", When you open the application in the Development Environment what is the Forms size, With and Height ?

When you run the application on the system that it does NOT work on, What resolution is that system set to?

What I am trying to determine is that the Form size when developed is set to lets say 850 X 610. Then the program is installed on a system who's Resolution is set to 800 X 600. This will cause the form border to fill the visible screen but the controls will be off the screen area.

Fernando
Avatar of psft

ASKER

?1.  developed with 1280x1024

?2.  width: 730,  height 580 in dev environment

?3. end user resolution of 1680x1050

I don't have access to the PC that is not working, but I'm guessing it's a font or dual monitor issue as suggested previously, but I haven't heard back from the user yet.  

Thanks for all the input, let me know if you have any other ideas.

~Adam


Hi psft;

To your statement, "I don't have access to the PC that is not working, but I'm guessing it's a font or dual monitor issue as suggested previously, but I haven't heard back from the user yet." If it were a Font issue I would think the the size of the font being displayed would be clipped along the borders of the controls and not that all the controls would get larger to accommodate the font size. As far as being a dual monitor it would not re-sized the controls seeming that the total resolution would most likely be larger then the form being displayed because the total resolution is the sum of both screens.

Fernando
Avatar of psft

ASKER

That makes sense. . .     could it be something with the video / graphics card?   What else can I try?
Well the only thing I can think of right now is the resolution mismatch. As far as being a video / graphics card problem, must video cards now a day is Microsoft certified which means that it had to of passed some test to operate as they would expect so most likely not the cause but you can ask the end user for the manufacture and model of the video card and see if it is or not. If it is not you may want to take a standard video card down to the end user and try a different card.
ASKER CERTIFIED SOLUTION
Avatar of Fernando Soto
Fernando Soto
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of psft

ASKER

Thanks for the input, hopefully we here back from the the end user soon so I can verify.
I have noticed that the  image you have posted is approximately 497 pixels wide by 720 pixels high. Is that what this form size is actually?
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of psft

ASKER

Still waiting for End-User response . . . .   I will get points out . . .
Not a problem.
Avatar of psft

ASKER

After a few weeks I have not been able to reach the end-user to confirm that the change in resolution fixed the problem, but it is my best guess that that was the case.  

The ideas for developing with Resolution Independence were also great and worth noting.  

Thanks for the input!