change screen resolution in C# - Another question

E

Ed Hochberg

Hi all, thanks to the responses on my post from Tuesday.

My question now is, what would cause an app to need a change to screen
resolution in order to accomidate it. The PC that I am testing on has other
programs and they don't require a change to the PC's screen resolution why
should my app?
 
J

Jeff Johnson

My question now is, what would cause an app to need a change to screen
resolution in order to accomidate it. The PC that I am testing on has
other
programs and they don't require a change to the PC's screen resolution why
should my app?

As far as I'm concerned, the ONLY thing that should require a change in
screen resolution is a full-screen game, and these days even that might be
becomming a thing of the past. No "normal" software program should ever need
to do this. If you can't fit everything on the screen at once, provide a
means for scrolling the app's contents.

I didn't follow the original thread, so I don't know exactly what your
program does, but I bet it's highly unlikely that it's one of those
incredibly rare situations where a resolution change is actually warranted.
 
P

Peter Duniho

Ed said:
Hi all, thanks to the responses on my post from Tuesday.

My question now is, what would cause an app to need a change to screen
resolution in order to accomidate it. The PC that I am testing on has other
programs and they don't require a change to the PC's screen resolution why
should my app?

I agree with Jeff's reply.

The only time I've written a program in .NET that changes the screen
resolution, that was _the_ purpose of the program: to provide a specific
mechanism to automatically change the screen resolution in a particular
way for a particular user.

In other words, the program didn't change the screen resolution for its
own needs. The changing of the resolution was integral to the purpose
of the program.

Games do have specialized needs, but even there I would expect it to
only do so when it switches to exclusive mode video, since in doing that
the video surface is taken over completely by the application and the
resolution can be whatever you want and/or need. Running in regular
windowed mode (which many games today support), the same rules as for
other applications still apply.

Pete
 
A

Arne Vajhøj

My question now is, what would cause an app to need a change to screen
resolution in order to accomidate it. The PC that I am testing on has other
programs and they don't require a change to the PC's screen resolution why
should my app?

It is your app. You tell us.

Arne
 
A

Andy O'Neill

Ed Hochberg said:
Hi all, thanks to the responses on my post from Tuesday.

My question now is, what would cause an app to need a change to screen
resolution in order to accomidate it. The PC that I am testing on has
other
programs and they don't require a change to the PC's screen resolution why
should my app?

I've seen people doing development who shouldn't have been allowed near a
database.
I've seen intranet apps writen for 1024*768 using fixed sizing which went
live only to find some users had 860*640
I've seen managers make crazy decisions.
I've seen x beams.... oh, wait a minute...

Yes I can all too easily imagine a situation at project delivery when
someone decided to stick code like that in an application.
Can't really see how it'd work let alone be a good idea..
Javascript in sandbox changing screen res looks like security would stop it
without activex or something.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top