Re: OT: XP Dual Monitor Detection

new topic     » goto parent     » topic index » view thread      » older message » newer message

Larry Miller wrote:
> 
> OtterDad wrote:
> > 
> > Under Windows XP, does anybody have a system call to detect if the user is 
> > using dual monitors? I have a resize routine that got too smart on itself 
> > and won’t allow you to save the window’s position if it thinks that you’re 
> > “off the screen”. Unfortunately, that translates to off the primary screen 
> > only. Thanks!
> > 
> > Yours, OtterDad
> > 
> > Don't sweat it -- it's not real life. It's only ones and zeroes. Gene
> > Spafford
> 
> I don't have much experience with multiple monitors but I think you would have
> to call EnumDisplayMonitors(). This function will return a handle and
> rectangle
> for each monitor.
> 
> Larry Miller

XP supports up to 10 monitors.

This is the link for info on multiple monitors.

http://msdn2.microsoft.com/en-us/library/ms534609.aspx

The functions and structures are listed under reference subject


Bernie

My files in archive:
WMOTOR, XMOTOR, W32ENGIN, MIXEDLIB, EU_ENGIN, WIN32ERU, WIN32API 

Can be downloaded here:
http://www.rapideuphoria.com/cgi-bin/asearch.exu?dos=on&win=on&lnx=on&gen=on&keywords=bernie+ryan

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu