Search
Module:
Directory

   Desktop Functions:

   Smart Device Functions:


Show Recent Changes
Subscribe (RSS)
Misc. Pages
Comments
FAQ
Helpful Tools
Playground
Suggested Reading
Website TODO List
Download Visual Studio Add-In

Search Results for "GetSystemMetrics" in [All]

user32

.

static extern int GetSystemMetrics(SystemMetric smIndex);

.

Public Declare Auto Function GetSystemMetrics Lib "user32.dll" (ByVal smIndex As Integer) As Integer

.

* GetSystemMetrics(SM_CMONITORS) counts only display monitors. This is different from EnumDisplayMonitors, which enumerates display monitors and also non-display pseudo-monitors.

.

          public static extern int GetSystemMetrics(SystemMetric smIndex);

.

         u=WindowsAPI.GetSystemMetrics(( WindowsAPI.SystemMetric)i);

.
Documentation
[GetSystemMetrics] on MSDN
.

GetWindowDC is intended for special painting effects within a window's nonclient area. Painting in nonclient areas of any window is not recommended. The GetSystemMetrics function can be used to retrieve the dimensions of various parts of the nonclient area, such as the title bar, menu, and scroll bars. The GetDC function can be used to retrieve a device context for the entire screen.

Enums

.

    static extern int GetSystemMetrics(SystemMetric smIndex);

.

    /// Flags used with the Windows API (User32.dll):GetSystemMetrics(SystemMetric smIndex)

shell32

.

    Shared Function GetSystemMetrics(ByVal Index As Integer) As Integer

.

These images are the size specified by GetSystemMetrics called with SM_CXSMICON and GetSystemMetrics called with SM_CYSMICON.

shlwapi

6: IsOS
.

     /// GetSystemMetrics(SM_REMOTESESSION).

.

     /// successors. Equivalent to GetSystemMetrics(SM_MEDIACENTER).


 
Access PInvoke.net directly from VS: