Hello folk Please do not laugh I think I found the solution to what I was trying to do with the following DECLARE INTEGER GetSystemMetrics ; > IN win32api ; > AS _FFC_GetSystemMetrics ; > INTEGER > > Now, > NumberOfMonitors = _FFC_GetSystemMetrics(80) > WidthOfPrimaryMonitor = _FFC_GetSystemMetrics(0) > HeightOfPrimaryMonitor = _FFC_GetSystemMetrics(1) > WidthOfAllMonitors = _FFC_GetSystemMetrics(78) > HeghtOfAllMonitors = _FFC_GetSystemMetrics(79)
Here comes the funny part Whilst trying this out, and trying various options, I've now lost my command window I click my VFP desktop icon and my screen is blank Fox is running, I just can't see it I've deleted the foxuser files. But, no go I think I will go to bed On Thu, Jul 21, 2011 at 9:04 PM, Sytze de Boer <[email protected]> wrote: > Thank you for your input > > When I type > ?sysmetric(0), I get error > ?sysmetric(1), it gives 1920 > > When I place my app on 2nd screen, top right corner, I get coordinates of > 60 (Top) and 2252 (left) > I've looked at all the sysmetric possibilities and haven't yet located the > answer > I know I've come across another function to detect if a 2nd screen is > installed. I'll try and find that again > S > > > > > > On Thu, Jul 21, 2011 at 8:54 PM, Christof Wollenhaupt < > [email protected]> wrote: > >> SYSMETRIC(0) and SYSMETRIC(1) return the size of the screen. You could >> check >> whether left and top are within these boundaries. >> >> -- >> Christof >> >> >> --- StripMime Report -- processed MIME parts --- >> multipart/alternative >> text/plain (text body -- kept) >> text/html >> --- >> [excessive quoting removed by server] _______________________________________________ Post Messages to: [email protected] Subscription Maintenance: http://leafe.com/mailman/listinfo/profox OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech Searchable Archive: http://leafe.com/archives/search/profox This message: http://leafe.com/archives/byMID/profox/CAG1nNy9JCPaBc12zagV64jxZa4KZ7LJhPs=hdbjsje+kam7...@mail.gmail.com ** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.

