SystemParametersInfo(SPI_GETWORKAREA, 0, &rc, 0);
Or must I pInvoke this (also)?
My biggest problem with C# is to find the C# function for API functions?
Is there any help for this available anywhere?
http://www.pinvoke.net/default.aspx/user32.SystemParametersInfo is the
interop definition.
I believe System.Windows.Forms.Screen.WorkingArea will get you what you
want. See
http://msdn.microsoft.com/library/en-us/cpref/html/frlrfSystemWindowsFormsScreenClassGetWorkingAreaTopic3.asp
for more info.
There are also several overloads of
System.Windows.Forms.Screen.GetWorkingArea to return the working area based
on the object that is passed in. See
http://msdn.microsoft.com/library/en-us/cpref/html/frlrfsystemwindowsformsscreenclassgetworkingareatopic.asp
for additional info on that.
--
Tom Porterfield