Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- The Guide to Clip-4-Win version 3.0 - <b>getsystemmetrics()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
GetSystemMetrics()
Return information about part of Windows
------------------------------------------------------------------------------

Syntax
GetSystemMetrics( <nIndex> )   -->   nMetric

Arguments
<nIndex> is the number of the metric to be returned.  (Use one
of the SM_* values defined in WINDOWS.CH.)

Returns
The returned value is the integer value of the measure or
setting.

Description
This function can be used to retrieve the width or height of
the various display elements, or the current setting of some
of the internal values used by Windows.

Example
? "Width of cursor", GetSystemMetrics( SM_CXCURSOR )
? "Mouse present", GetSystemMetrics( SM_MOUSEPRESENT )   // 1=yes


See Also: GetSysColor()

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson