ArcObjects Library Reference (Controls)  

IPageLayoutControl2.hWnd Property

Handle to the window associated with the PageLayoutControl.

[Visual Basic .NET]
Public ReadOnly Property hWnd As Integer
[C#]
public int hWnd {get;}
[C++]
HRESULT get_hWnd(
  long* hWnd
);
[C++]

Parameters

hWnd [out, retval]   hWnd is a parameter of type long

Product Availability

Available with ArcGIS Engine.

Description

The operating environment identifies each window, form and control in an application by assigning it a handle, or hWnd. Many ArcObjects methods and Windows API calls require the hWnd as an argument.

See Also

IPageLayoutControl2 Interface

.NET Samples

Synchronized MapControl and PageLayoutControl application (Code Files: ControlsSynchronizer)