Board index » delphi » Change Screen Resolution?

Change Screen Resolution?

Hello!
I'm sharing my computer with my dad, and he wants to use 800x600 while I use
1024x768, so I'm wondering if anyone knows a way to change the screen
resolution through a small Delphi-written app?
Hope someone can help me out!

Fred Mandal
http://www.fmandal.com

 

Re:Change Screen Resolution?


Why write your own program ? The following tool is freeware (for personal
use):
http://www.jddesign.freeserve.co.uk/vidres.htm

ps. If you want to do the same in Delphi you should lookup:
EnumDisplaySettings (to get a list of available screen resolutions, color
depths and refresh rates) and ChangeDisplaySettings (to make the appropriate
change). Both functions are documented in the Win32 Programmer's Reference
(win32.hlp).

"Fred Mandal" <sin...@punkass.com> schreef in bericht
news:z2zp6.4381$Bc2.178237@juliett.dax.net...

Quote
> Hello!
> I'm sharing my computer with my dad, and he wants to use 800x600 while I
use
> 1024x768, so I'm wondering if anyone knows a way to change the screen
> resolution through a small Delphi-written app?
> Hope someone can help me out!

> Fred Mandal
> http://www.fmandal.com

Re:Change Screen Resolution?


you could include a  call or use a shortcut in start to run

C:\WINDOWS\CONTROL.EXE desk.cpl,display,3

this brings up the display control  showing the  resolution panel
convenient if you do a lot of depth and res changes rather than just toggle between 2

Quote
"M.H. Avegaart" <avegaartNOS...@mccomm.nl> wrote in message news:987g0n$k8v$1@porthos.nl.uu.net...
> Why write your own program ? The following tool is freeware (for personal
> use):
> http://www.jddesign.freeserve.co.uk/vidres.htm

> ps. If you want to do the same in Delphi you should lookup:
> EnumDisplaySettings (to get a list of available screen resolutions, color
> depths and refresh rates) and ChangeDisplaySettings (to make the appropriate
> change). Both functions are documented in the Win32 Programmer's Reference
> (win32.hlp).

> "Fred Mandal" <sin...@punkass.com> schreef in bericht
> news:z2zp6.4381$Bc2.178237@juliett.dax.net...
> > Hello!
> > I'm sharing my computer with my dad, and he wants to use 800x600 while I
> use
> > 1024x768, so I'm wondering if anyone knows a way to change the screen
> > resolution through a small Delphi-written app?
> > Hope someone can help me out!

> > Fred Mandal
> > http://www.fmandal.com

Re:Change Screen Resolution?


You could also have your own log-in and personal preferences inc video,
sound, desktop layouts, etc - check the User Control Panels.

--
Cheers

Starb

* ----------------------------------------------------------------*
* Lo fa, ne-ko shi-ma de vaja blade Bladerunner *
* ----------------------------------------------------------------*
*        Hey, want a Mac accounts package?        *
*  Then why not visit www.astraaccounts.co.uk  *
*   and download your free copy of Astra now.  *

Quote
"Fred Mandal" <sin...@punkass.com> wrote in message

news:z2zp6.4381$Bc2.178237@juliett.dax.net...
Quote
> Hello!
> I'm sharing my computer with my dad, and he wants to use 800x600 while I
use
> 1024x768, so I'm wondering if anyone knows a way to change the screen
> resolution through a small Delphi-written app?
> Hope someone can help me out!

> Fred Mandal
> http://www.fmandal.com

Re:Change Screen Resolution?


I wrote such a utility.

Assuming that each user has a different logon name to Windows then the utility
can be configured in its INI file to change the resolution to the appropriate
value as the user logs on.

Please let me know if you are still interested.

Quote
Fred Mandal wrote:
> Hello!
> I'm sharing my computer with my dad, and he wants to use 800x600 while I use
> 1024x768, so I'm wondering if anyone knows a way to change the screen
> resolution through a small Delphi-written app?
> Hope someone can help me out!

> Fred Mandal
> http://www.fmandal.com

Re:Change Screen Resolution?


If you are using Windows 9.x / ME / NT / 2000 And are using a different
logon name to log into Windows,you'll have two different profiles.You will
not need any programs. Just change the resolution to what you want on your
own profile.

But if you only use one username and only want to use one username,I have a
program that might help you. I just need to modifiy it a bit. (Free) post a
message if you want it.
But as I said : It's easy'er with two different  users on your computer.

Best Regards,
Svenn

Quote
"Ashwin D'Costa" <adco...@optushome.com.au> wrote in message

news:3B10579A.63E77CFD@optushome.com.au...
Quote
> I wrote such a utility.

> Assuming that each user has a different logon name to Windows then the
utility
> can be configured in its INI file to change the resolution to the
appropriate
> value as the user logs on.

> Please let me know if you are still interested.

> Fred Mandal wrote:

> > Hello!
> > I'm sharing my computer with my dad, and he wants to use 800x600 while I
use
> > 1024x768, so I'm wondering if anyone knows a way to change the screen
> > resolution through a small Delphi-written app?
> > Hope someone can help me out!

> > Fred Mandal
> > http://www.fmandal.com

Re:Change Screen Resolution?


Thanks, but no thanks.
I finally found the API-command... So my problems are solved.

Fred Mandal

Ashwin D'Costa <adco...@optushome.com.au> skrev i
meldingsnyheter:3B10579A.63E77...@optushome.com.au...

Quote
> I wrote such a utility.

> Assuming that each user has a different logon name to Windows then the
utility
> can be configured in its INI file to change the resolution to the
appropriate
> value as the user logs on.

> Please let me know if you are still interested.

> Fred Mandal wrote:

> > Hello!
> > I'm sharing my computer with my dad, and he wants to use 800x600 while I
use
> > 1024x768, so I'm wondering if anyone knows a way to change the screen
> > resolution through a small Delphi-written app?
> > Hope someone can help me out!

> > Fred Mandal
> > http://www.fmandal.com

Other Threads