GetHWND Method (IDSWindow)

GetHWND Method (IDSWindow) | Send Feedback
See Also Example

HWND[out]
  DraftSight application or document window's handle

Gets the DraftSight application or document window's handle.

# Syntax

Visual Basic |
--- | ---
    Sub GetHWND( _
       ByRef HWND As System.Integer _
    )

C# |
--- | ---
    void GetHWND(
       out System.int HWND
    )

JavaScript |
--- | ---
    GetHWND(
    ) : Number

COM native C++ |
--- | ---
    HRESULT GetHWND(
       LONG* HWND
    )

C++ |
--- | ---
    DSRESULT GetHWND(
       long* HWND
    )

#### Parameters

HWND[out] or Return Value
  DraftSight application or document window's handle

# Example

Get and Set Windows Values (C#)
Get and Set Windows Values (VB.NET)
Get and Set Windows Values (VBA)

# See Also

####

IDSWindow Interface
IDSWindow Members
IApplication::GetHWND Method

# Availability

DraftSight V1R2.0