Re: OT: XP Dual Monitor Detection
- Posted by Bernie Ryan <xotron at bluefrog.c??> Aug 13, 2007
- 482 views
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