---
name: "HWNDToWindow"
section: "3tk"
platform: "linux"
package: "tk8.3-doc"
version: "8.3.5-14"
release: "Debian 5.0 (Lenny)"
platforms: ["linux"]
url: "https://new.carta.tech/HWNDToWindow/3tk"
---

# HWNDToWindow(3tk)

Find Tk's window information for a Windows window

```

```

## NAME

Tk\_HWNDToWindow - Find Tk's window information for a Windows window

## SYNOPSIS

```
#include <tkPlatDecls.h>

Tk_Window
Tk_HWNDToWindow(hwnd)
```

## ARGUMENTS

- HWND *hwnd* (in)

  Windows handle for the window.

  ```

  ```

## DESCRIPTION

Given a Windows HWND window identifier, this procedure returns the corresponding Tk\_Window handle. If there is no Tk\_Window corresponding to *hwnd* then NULL is returned.

## KEYWORDS

Windows window id
