Tk_HWNDToWindow(3) Tk Library Procedures Tk_HWNDToWindow(3)

Tk_HWNDToWindow - Find Tk's window information for a Windows window

#include <tkPlatDecls.h>

Tk_Window
Tk_HWNDToWindow(hwnd)

HWND hwnd (in)
Windows handle for the window.

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.

Windows window id

Tk