次の方法で共有


Screen.GetWorkingArea メソッド (Control)

指定したコントロールの最大領域を保持するディスプレイの作業領域を取得します。作業領域とは、ディスプレイのデスクトップ領域からタスクバー、ドッキングされたウィンドウ、およびドッキングされたツール バーを除いた部分です。

Overloads Public Shared Function GetWorkingArea( _
   ByVal ctl As Control _) As Rectangle
[C#]
public static Rectangle GetWorkingArea(Controlctl);
[C++]
public: static Rectangle GetWorkingArea(Control* ctl);
[JScript]
public static function GetWorkingArea(
   ctl : Control) : Rectangle;

パラメータ

  • ctl
    作業領域の取得条件となる Control

戻り値

作業領域を指定する Rectangle 。指定したコントロールを含むディスプレイがない複数ディスプレイ環境では、そのコントロールに最も近いディスプレイが返されます。

必要条件

プラットフォーム: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 ファミリ

参照

Screen クラス | Screen メンバ | System.Windows.Forms 名前空間 | Screen.GetWorkingArea オーバーロードの一覧