Tk\_HWNDToWindow(3) Tk Library Procedures Tk\_HWNDToWindow(3)

```

```

# [NAME](#NAME)

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

# [SYNOPSIS](#SYNOPSIS)

```
#include <tkPlatDecls.h>

Tk_Window
Tk_HWNDToWindow(hwnd)
```

# [ARGUMENTS](#ARGUMENTS)

HWND *hwnd* (in)

Windows handle for the window.

```
    
```

# [DESCRIPTION](#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](#KEYWORDS)

Windows window id

Tk

---

Document: Tk_HWNDToWindow(3) from tk 9.1.0-r0 (Chainguard OS)
Source: https://downloads.sourceforge.net/sourceforge/tcl/tk9.1.0-src.tar.gz
