473,397 Members | 1,969 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,397 software developers and data experts.

Capture user changing screen res

Hi

My app requires to run in a minumum of 1024 X 768. There are plenty of users
who for their own comfort continue to work in 800 X 600. The res is checked
at start-up. If res is less than required the user will be advised and the
app will close.

I need to take care of the user who changes their screen res after
successfully starting up the app in the required res (yes there are those
that would do such a thing)

The app does not involve the manipulation of any data or files it is simply
a 'window' to view certain activity on the network. There is therefore no
loss if the app closes down (after warning the user) on change of screen res,
which is what I want it to do.

Can this be done and any ideas how?
, with the user advised of the requirement
Dec 15 '05 #1
1 943
"mabond" <ma****@discussions.microsoft.com> schrieb
Hi

My app requires to run in a minumum of 1024 X 768. There are plenty
of users who for their own comfort continue to work in 800 X 600.
The res is checked at start-up. If res is less than required the
user will be advised and the app will close.

I need to take care of the user who changes their screen res after
successfully starting up the app in the required res (yes there are
those that would do such a thing)

The app does not involve the manipulation of any data or files it is
simply a 'window' to view certain activity on the network. There is
therefore no loss if the app closes down (after warning the user) on
change of screen res, which is what I want it to do.

Can this be done and any ideas how?

Attach to this event:

Microsoft.Win32.SystemEvents.DisplaySettingsChange d

To get the current res, have a look at the System.Windows.Forms.Screen
class.
Armin

Dec 15 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
by: TerryWilson | last post by:
I am developing a web based service tool using asp.net that we will distribute with our product. This service tool will be used for remotely configuring the product, problem determination, etc. ...
5
by: TerryWilson | last post by:
I am developing a web based service tool using asp.net that we will distribute with our product. This service tool will be used for remotely configuring the product, problem determination, etc. ...
10
by: TerryWilson | last post by:
I am developing a web based service tool using asp.net that we will distribute with our product. This service tool will be used for remotely configuring the product, problem determination, etc. ...
2
by: dumbledad | last post by:
Hi All, I'm using ASP.Net web services to provide the logic required for a Flash based prototype. The Flash and the ASP .Net run together on the client machine. One of the functions I'd like to...
6
by: trbjr | last post by:
Hello experts, I want to describe a project design and then ask some questions at the end. There is no code in this discussion, just symbols to illustrate an idea. Let S stand for a screen...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.