View Single Post
  #4   Report Post  
Posted to microsoft.public.excel.programming
Rick Rothstein Rick Rothstein is offline
external usenet poster
 
Posts: 5,934
Default GetSystemMetrics32(n) Question

A little more searching revealed this link which shows more parameter
values, but without an explanation (only somewhat cryptic parameter names as
a hint)...

http://wiki.tcl.tk/15401

--
Rick (MVP - Excel)



wrote in message
...
Thanks for the reply and the list.

From experimentation, there must be many more valid arguments. For
example, as I mentioned, n=80 returns the number of monitors and that
value
is not on Microsoft's list in kb/210603. I tried adding and deleting
monitors from my multiple monitor system, and n=80 always gave the current
number of monitors.

On my system, 66 values of n returned a non-zero value. Some of the zero
returns also had meaning according to kb/210603.

On Wed, 14 Apr 2010 12:39:30 -0400, "Rick Rothstein"
wrote:

Here is a link to a list of arguments (there are only about 38 of them)
and
what they mean...

http://support.microsoft.com/kb/210603