DOKK / manpages / debian 11 / tk8.6-doc / Tk_HWNDToWindow.3tk.en
Tk_HWNDToWindow(3tk) Tk Library Procedures Tk_HWNDToWindow(3tk)


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