Welcome To The Home Of The Visual FoxPro Experts  
home. signup. forum. archives. search. google. articles. downloads. faq. members. weblogs. file info. rss.
 From: Neil Shumsky
  Where is Neil Shumsky?
 LEEDS
 United Kingdom
 Neil Shumsky
 To: Eric den Doop
  Where is Eric den Doop?
 Houten
 Netherlands
 Eric den Doop
 Tags
Subject: RE: get windows desktop dimensions
Thread ID: 22790 Message ID: 22856 # Views: 1 # Ratings: 0
Version: Not Applicable Category: General VFP Topics
Date: Monday, April 28, 2003 3:43:09 PM         
   


> > Hi.
> >
> > I want to get the height and width of the user's desktop. I know I have to use GetWindowRect in the WIN32API but am confused about how to get the 4 parameters it should return (height, width, top, left) into foxfro numeric variables.
> >
> > Hope you can help...
> > Cheers
> > Neil Shumsky
>
> SYSMETRIC(1) and SYSMETRIC(2) return the desktop width and height. Is that what you're looking for?
> --
> Eric den Doop
> www.foxite.com - The Home Of The Visual FoxPro Experts


Yes thanks,

I can't believe my ignorance! I did know about this function but somehow it slipped my mind. Cheers again.
Neil

COMPLETE THREAD

get windows desktop dimensions Posted by Neil Shumsky @ 4/25/2003 4:10:30 PM
RE: get windows desktop dimensions Posted by Eric den Doop @ 4/25/2003 4:47:41 PM
RE: get windows desktop dimensions Posted by Neil Shumsky @ 4/28/2003 3:43:09 PM