HwndSource 생성자

정의

HwndSource 클래스의 새 인스턴스를 초기화합니다.

오버로드

HwndSource(HwndSourceParameters)

초기 설정을 포함하는 구조체를 사용하여 HwndSource 클래스의 새 인스턴스를 초기화합니다.

HwndSource(Int32, Int32, Int32, Int32, Int32, String, IntPtr)

지정된 클래스 스타일, 스타일, 확장 스타일, x-y 위치, 이름 및 부모 창을 사용하여 HwndSource 클래스의 새 인스턴스를 초기화합니다.

HwndSource(Int32, Int32, Int32, Int32, Int32, Int32, Int32, String, IntPtr)

지정된 클래스 스타일, 스타일, 확장 스타일, x-y 위치, 너비, 높이, 이름 및 부모 창을 사용하여 HwndSource 클래스의 새 인스턴스를 초기화합니다.

HwndSource(Int32, Int32, Int32, Int32, Int32, Int32, Int32, String, IntPtr, Boolean)

지정된 클래스 스타일, 스타일, 확장 스타일, x-y 위치, 너비, 높이, 이름, 부모 창을 사용하고 창의 자동 크기 조정 여부를 지정하여 HwndSource 클래스의 새 인스턴스를 초기화합니다.

설명

중요

이 메서드는 인터넷 보안 영역에서 사용할 수 없습니다.

HwndSource(HwndSourceParameters)

초기 설정을 포함하는 구조체를 사용하여 HwndSource 클래스의 새 인스턴스를 초기화합니다.

public:
 HwndSource(System::Windows::Interop::HwndSourceParameters parameters);
[System.Security.SecurityCritical]
public HwndSource (System.Windows.Interop.HwndSourceParameters parameters);
public HwndSource (System.Windows.Interop.HwndSourceParameters parameters);
[<System.Security.SecurityCritical>]
new System.Windows.Interop.HwndSource : System.Windows.Interop.HwndSourceParameters -> System.Windows.Interop.HwndSource
new System.Windows.Interop.HwndSource : System.Windows.Interop.HwndSourceParameters -> System.Windows.Interop.HwndSource
Public Sub New (parameters As HwndSourceParameters)

매개 변수

parameters
HwndSourceParameters

창을 만드는 데 필요한 매개 변수가 포함된 구조체입니다.

특성

설명

중요

이 메서드는 인터넷 보안 영역에서 사용할 수 없습니다.

이 생성자 서명은 기본 구조에 적절한 초기 기본값이 포함되어 있으므로 특정 상황에서 더 편리할 수 있습니다.

중요

이 서명을 사용하는 경우 기본 HwndSourceParameters 생성자를 사용하여 값의 HwndSourceParameters 구조를 parameters 생성하지 마세요. 초기 창 이름을 지정할 수 있는 생성자를 사용해야 HwndSourceParameters 합니다. 기본 HwndSourceParameters 생성자를 사용하여 만들 HwndSource HwndSource 면 초기 창 이름이 표시된 HWND에 대한 생성 요구 사항이므로 표시되지 않습니다.

적용 대상

HwndSource(Int32, Int32, Int32, Int32, Int32, String, IntPtr)

지정된 클래스 스타일, 스타일, 확장 스타일, x-y 위치, 이름 및 부모 창을 사용하여 HwndSource 클래스의 새 인스턴스를 초기화합니다.

public:
 HwndSource(int classStyle, int style, int exStyle, int x, int y, System::String ^ name, IntPtr parent);
[System.Security.SecurityCritical]
public HwndSource (int classStyle, int style, int exStyle, int x, int y, string name, IntPtr parent);
public HwndSource (int classStyle, int style, int exStyle, int x, int y, string name, IntPtr parent);
[<System.Security.SecurityCritical>]
new System.Windows.Interop.HwndSource : int * int * int * int * int * string * nativeint -> System.Windows.Interop.HwndSource
new System.Windows.Interop.HwndSource : int * int * int * int * int * string * nativeint -> System.Windows.Interop.HwndSource
Public Sub New (classStyle As Integer, style As Integer, exStyle As Integer, x As Integer, y As Integer, name As String, parent As IntPtr)

매개 변수

classStyle
Int32

창의 Win32 클래스 스타일입니다.

style
Int32

창의 Win32 스타일입니다.

exStyle
Int32

창의 확장된 Win32 스타일입니다.

x
Int32

창 왼쪽 가장자리의 위치입니다.

y
Int32

창 위쪽 가장자리의 위치입니다.

name
String

창의 이름입니다.

parent
IntPtr

nativeint

창의 부모 창의 핸들입니다.

특성

설명

중요

이 메서드는 인터넷 보안 영역에서 사용할 수 없습니다.

적용 대상

HwndSource(Int32, Int32, Int32, Int32, Int32, Int32, Int32, String, IntPtr)

지정된 클래스 스타일, 스타일, 확장 스타일, x-y 위치, 너비, 높이, 이름 및 부모 창을 사용하여 HwndSource 클래스의 새 인스턴스를 초기화합니다.

public:
 HwndSource(int classStyle, int style, int exStyle, int x, int y, int width, int height, System::String ^ name, IntPtr parent);
[System.Security.SecurityCritical]
public HwndSource (int classStyle, int style, int exStyle, int x, int y, int width, int height, string name, IntPtr parent);
public HwndSource (int classStyle, int style, int exStyle, int x, int y, int width, int height, string name, IntPtr parent);
[<System.Security.SecurityCritical>]
new System.Windows.Interop.HwndSource : int * int * int * int * int * int * int * string * nativeint -> System.Windows.Interop.HwndSource
new System.Windows.Interop.HwndSource : int * int * int * int * int * int * int * string * nativeint -> System.Windows.Interop.HwndSource
Public Sub New (classStyle As Integer, style As Integer, exStyle As Integer, x As Integer, y As Integer, width As Integer, height As Integer, name As String, parent As IntPtr)

매개 변수

classStyle
Int32

창의 Win32 클래스 스타일입니다.

style
Int32

창의 Win32 스타일입니다.

exStyle
Int32

창의 확장된 Win32 스타일입니다.

x
Int32

창 왼쪽 가장자리의 위치입니다.

y
Int32

창 위쪽 가장자리의 위치입니다.

width
Int32

창의 너비입니다.

height
Int32

창의 높이입니다.

name
String

창의 이름입니다.

parent
IntPtr

nativeint

창의 부모 창의 핸들입니다.

특성

설명

중요

이 메서드는 인터넷 보안 영역에서 사용할 수 없습니다.

적용 대상

HwndSource(Int32, Int32, Int32, Int32, Int32, Int32, Int32, String, IntPtr, Boolean)

지정된 클래스 스타일, 스타일, 확장 스타일, x-y 위치, 너비, 높이, 이름, 부모 창을 사용하고 창의 자동 크기 조정 여부를 지정하여 HwndSource 클래스의 새 인스턴스를 초기화합니다.

public:
 HwndSource(int classStyle, int style, int exStyle, int x, int y, int width, int height, System::String ^ name, IntPtr parent, bool adjustSizingForNonClientArea);
[System.Security.SecurityCritical]
public HwndSource (int classStyle, int style, int exStyle, int x, int y, int width, int height, string name, IntPtr parent, bool adjustSizingForNonClientArea);
public HwndSource (int classStyle, int style, int exStyle, int x, int y, int width, int height, string name, IntPtr parent, bool adjustSizingForNonClientArea);
[<System.Security.SecurityCritical>]
new System.Windows.Interop.HwndSource : int * int * int * int * int * int * int * string * nativeint * bool -> System.Windows.Interop.HwndSource
new System.Windows.Interop.HwndSource : int * int * int * int * int * int * int * string * nativeint * bool -> System.Windows.Interop.HwndSource
Public Sub New (classStyle As Integer, style As Integer, exStyle As Integer, x As Integer, y As Integer, width As Integer, height As Integer, name As String, parent As IntPtr, adjustSizingForNonClientArea As Boolean)

매개 변수

classStyle
Int32

창의 Win32 클래스 스타일입니다.

style
Int32

창의 Win32 스타일입니다.

exStyle
Int32

창의 확장된 Win32 스타일입니다.

x
Int32

창 왼쪽 가장자리의 위치입니다.

y
Int32

창 위쪽 가장자리의 위치입니다.

width
Int32

창의 너비입니다.

height
Int32

창의 높이입니다.

name
String

창의 이름입니다.

parent
IntPtr

nativeint

창의 부모 창의 핸들입니다.

adjustSizingForNonClientArea
Boolean

크기 조정을 위해 레이아웃 관리자에 비클라이언트 영역을 포함하면 true이고, 그렇지 않으면 false입니다.

특성

설명

중요

이 메서드는 인터넷 보안 영역에서 사용할 수 없습니다.

적용 대상