Re: Capture user changing screen res
- From: "Armin Zingler" <az.nospam@xxxxxxxxxx>
- Date: Thu, 15 Dec 2005 13:32:28 +0100
"mabond" <mabond@xxxxxxxxxxxxxxxxxxxxxxxxx> 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.DisplaySettingsChanged
To get the current res, have a look at the System.Windows.Forms.Screen class.
Armin
.
- Prev by Date: how to prepare for MCSD 070-300 VB.NET
- Next by Date: Re: VB instal problem
- Previous by thread: how to prepare for MCSD 070-300 VB.NET
- Next by thread: Re: Custom Form Properties
- Index(es):
Relevant Pages
|