Click here to Skip to main content
15,902,757 members
Home / Discussions / C#
   

C#

 
General.NET App Performance and Scalability Guide Pin
Dave Kreskowiak20-May-04 4:31
mveDave Kreskowiak20-May-04 4:31 
GeneralDir Search On Server Pin
IrishSonic20-May-04 4:14
IrishSonic20-May-04 4:14 
GeneralRe: Dir Search On Server Pin
Heath Stewart20-May-04 4:16
protectorHeath Stewart20-May-04 4:16 
GeneralRe: Dir Search On Server Pin
IrishSonic20-May-04 4:29
IrishSonic20-May-04 4:29 
GeneralRe: Dir Search On Server Pin
IrishSonic20-May-04 4:37
IrishSonic20-May-04 4:37 
GeneralRe: Dir Search On Server Pin
Heath Stewart20-May-04 4:43
protectorHeath Stewart20-May-04 4:43 
GeneralProblems with Screen.PrimaryScreen.Bounds Pin
kaloyan20-May-04 3:21
kaloyan20-May-04 3:21 
GeneralRe: Problems with Screen.PrimaryScreen.Bounds Pin
Heath Stewart20-May-04 4:14
protectorHeath Stewart20-May-04 4:14 
Works fine for me using SystemEvents.DisplaySettingsChanged. If something else is wrong, you could always use the Message.LParam split into low- and high-order bits that describe the new horizontal and vertical resolution, respectively. The new settings are packed and passed as the LParam property of the Message struct.

Also, you could save yourself a lot of typing like so:
MessageBox.Show(Screen.PrimaryScreen.Bounds.Size.ToString());
Just a suggestion. Smile | :)

 

Microsoft MVP, Visual C#
My Articles
GeneralRe: Problems with Screen.PrimaryScreen.Bounds Pin
kaloyan20-May-04 21:52
kaloyan20-May-04 21:52 
GeneralRe: Problems with Screen.PrimaryScreen.Bounds Pin
Heath Stewart21-May-04 3:30
protectorHeath Stewart21-May-04 3:30 
GeneralSingle Instance of a class as long as it is in use Pin
SmithaC20-May-04 3:03
SmithaC20-May-04 3:03 
GeneralRe: Single Instance of a class as long as it is in use Pin
Grimolfr20-May-04 3:08
Grimolfr20-May-04 3:08 
GeneralRe: Single Instance of a class as long as it is in use Pin
Heath Stewart20-May-04 3:24
protectorHeath Stewart20-May-04 3:24 
GeneralRe: Single Instance of a class as long as it is in use Pin
scadaguy20-May-04 5:57
scadaguy20-May-04 5:57 
GeneralA general question about objects Pin
Christer Claesson20-May-04 2:47
Christer Claesson20-May-04 2:47 
GeneralRe: A general question about objects Pin
Heath Stewart20-May-04 3:08
protectorHeath Stewart20-May-04 3:08 
GeneralRe: A general question about objects Pin
Christer Claesson20-May-04 3:30
Christer Claesson20-May-04 3:30 
GeneralRe: A general question about objects Pin
Heath Stewart20-May-04 3:41
protectorHeath Stewart20-May-04 3:41 
GeneralRe: A general question about objects Pin
Christer Claesson20-May-04 4:02
Christer Claesson20-May-04 4:02 
GeneralRe: A general question about objects Pin
Grimolfr20-May-04 3:13
Grimolfr20-May-04 3:13 
GeneralRe: A general question about objects Pin
Heath Stewart20-May-04 3:34
protectorHeath Stewart20-May-04 3:34 
GeneralRe: A general question about objects Pin
Grimolfr20-May-04 5:09
Grimolfr20-May-04 5:09 
GeneralRe: A general question about objects Pin
Heath Stewart20-May-04 5:25
protectorHeath Stewart20-May-04 5:25 
GeneralRe: A general question about objects Pin
Grimolfr20-May-04 5:52
Grimolfr20-May-04 5:52 
GeneralRe: A general question about objects Pin
Heath Stewart20-May-04 5:57
protectorHeath Stewart20-May-04 5:57 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.