Export (0) Print
Expand All
Expand Minimize

SystemInformation.DoubleClickSize Property

Gets the dimensions, in pixels, of the area within which the user must click for the operating system to consider the two clicks a double-click.

[Visual Basic]
Public Shared ReadOnly Property DoubleClickSize As Size
[C#]
public static Size DoubleClickSize {get;}
[C++]
public: __property static Size get_DoubleClickSize();
[JScript]
public static function get DoubleClickSize() : Size;

Property Value

A Size that specifies the dimensions, in pixels, of the area within which the user must click for the operating system to consider the two clicks a double-click.

Remarks

The rectangle is centered around the first click.

Use DoubleClickSize to determine the height and width of the rectangle that Windows uses to determine whether the second click in a double-click sequence is in a valid location. The second click must occur within this rectangle for the operating system to consider the two clicks to be a double-click. The two clicks must also occur within a specified time range. See DoubleClickTime.

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also

SystemInformation Class | SystemInformation Members | System.Windows.Forms Namespace | SystemInformation | DoubleClickTime | Size

Show:
© 2015 Microsoft