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
Support Forum
Download Visual Studio Add-In

Terms of Use
Privacy Policy

Search Results for "GetSystemMetrics" in [All]

shlwapi

1: IsOS
.

     /// GetSystemMetrics(SM_REMOTESESSION).

.

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

Enums

2: SPI
.

      /// To retrieve the width of the double-click rectangle, call GetSystemMetrics with the SM_CXDOUBLECLK flag.

.

      /// To retrieve the height of the double-click rectangle, call GetSystemMetrics with the SM_CYDOUBLECLK flag.

.

      /// To retrieve the drag width, call GetSystemMetrics with the SM_CXDRAG flag.

.

      /// To retrieve the drag height, call GetSystemMetrics with the SM_CYDRAG flag.

.

      /// Using this value is equivalent to calling GetSystemMetrics (SM_SHOWSOUNDS). That is the recommended call.

.

    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.

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.


 
Access PInvoke.net directly from VS: