Changing Screen Size / # of colors 
Author Message
 Changing Screen Size / # of colors

I'm having to do a lot of web development right now and I have to
continually change my screen from its current settings to 600X800 / 256
colors and back

I'm wanting to create a systray icon that you can click on and a menu
willl pop up and allow you to choose new settings.

I know how to make the icon show up on the systray, and how to make the
menu appear...but how do you reset the screen info?  I'm sure its going
to have to be some function from GDI32.dll, but does anyone knoe which
one?

Sent via Deja.com http://www.*-*-*.com/
Before you buy.



Thu, 19 Sep 2002 04:00:00 GMT  
 Changing Screen Size / # of colors

Quote:
>>> but how do you reset the screen info? <<<

See the "ChangeDisplaySettingsA" API in user32.

Calvin Smith
http://www.CalvinSmithSoftware.com/codedisk/sneakpeek.htm

Quote:

> I'm having to do a lot of web development right now and I have to
> continually change my screen from its current settings to 600X800 / 256
> colors and back

> I'm wanting to create a systray icon that you can click on and a menu
> willl pop up and allow you to choose new settings.

> I know how to make the icon show up on the systray, and how to make the
> menu appear...but how do you reset the screen info?  I'm sure its going
> to have to be some function from GDI32.dll, but does anyone knoe which
> one?

> Sent via Deja.com http://www.deja.com/
> Before you buy.



Thu, 19 Sep 2002 04:00:00 GMT  
 Changing Screen Size / # of colors
If you are using Win9x, you can download QuickRes.exe from MSFT. It does
exactly this.  If you want to roll your own, then look at this code.

< http://www.mvps.org/access/api/api0029.htm >

 -- Dev

:I'm having to do a lot of web development right now and I have to
:continually change my screen from its current settings to 600X800 / 256
:colors and back
:
:I'm wanting to create a systray icon that you can click on and a menu
:willl pop up and allow you to choose new settings.
:
:I know how to make the icon show up on the systray, and how to make the
:menu appear...but how do you reset the screen info?  I'm sure its going
:to have to be some function from GDI32.dll, but does anyone knoe which
:one?
:
:
:
:Sent via Deja.com http://www.deja.com/
:Before you buy.



Thu, 19 Sep 2002 04:00:00 GMT  
 Changing Screen Size / # of colors
David,

I've taken a different approach to this situation (on Win98).  I
set up my machine with dual monitors - main monitor is 19" at
1600x1200 for maximal screen real estate, second monitor is 17"
set to client's resolution (usually 1024x768 or 800x600).  Then,
when I need to check how things will display at the lower
resolution, I just drag the window over to the other monitor and
fine tune it there.  Quick and easy, and it saves having to look
for desktop icons or other windows that have disappeared off the
edge of the screen.

Just a thought,
Marsh

Quote:

>I'm having to do a lot of web development right now and I have
to
>continually change my screen from its current settings to
600X800 / 256
>colors and back

>I'm wanting to create a systray icon that you can click on and a
menu
>willl pop up and allow you to choose new settings.

>I know how to make the icon show up on the systray, and how to
make the
>menu appear...but how do you reset the screen info?  I'm sure
its going
>to have to be some function from GDI32.dll, but does anyone knoe
which
>one?

-----= Posted via Newsfeeds.Com, Uncensored Usenet News =-----
http://www.newsfeeds.com - The #1 Newsgroup Service in the World!
-----==  Over 80,000 Newsgroups - 16 Different Servers! =-----


Thu, 19 Sep 2002 04:00:00 GMT  
 
 [ 4 post ] 

 Relevant Pages 

1. Change Screen Color Palette from 256 to hi-color in VB

2. controls to change when screen resolution or form size is changed

3. How to set screen size and color depth through API

4. How to set screen size and color depth through API

5. Changing Cursor Size and or Color of Control Background

6. Changing size, color, etc of labels

7. Change form title's font size or color

8. Change color depth to reduce file size when saving

9. Changing Screen size

10. Changing screen resolution and color depth

11. Change property of screen (color sheme) using VB

12. Changing Screen size similar to Start

 

 
Powered by phpBB® Forum Software