TheSwamp

Code Red => AutoLISP (Vanilla / Visual) => Topic started by: kenkrupa on June 27, 2014, 12:26:37 PM

Title: windows screen size?
Post by: kenkrupa on June 27, 2014, 12:26:37 PM
Any way to determine what the current windows resolution is?
Title: Re: windows screen size?
Post by: Keith Brown on June 27, 2014, 02:10:47 PM
not sure if this is what you are after but...

http://msdn.microsoft.com/en-us/library/system.windows.forms.systeminformation.primarymonitorsize.aspx (http://msdn.microsoft.com/en-us/library/system.windows.forms.systeminformation.primarymonitorsize.aspx)
Title: Re: windows screen size?
Post by: kenkrupa on June 27, 2014, 02:54:43 PM
Thanks - this does look like what I'm after, but I want to do this with lisp, and have no idea what to do with what's in that link. Yes, I'm looking for the system screen res (1024x768, or whatever).
Title: Re: windows screen size?
Post by: Keith Brown on June 27, 2014, 03:03:23 PM
Sorry, i was looking through my phone and didnt realize i was on the lisp forum. 


try this


http://en.allexperts.com/q/AutoCAD-1029/AutoLISP-determine-screen-resolution.htm (http://en.allexperts.com/q/AutoCAD-1029/AutoLISP-determine-screen-resolution.htm)
Title: Re: windows screen size?
Post by: kenkrupa on June 27, 2014, 03:11:47 PM
Excellent. Thank you much Keith!