tcldoc Tcl/Tk 9.0.4
/

HomeTk Library Procedures Tk

Tk_HWNDToWindow C API

Find Tk's window information for a Windows window

literal type exactly as shown argument replace with your value ?optional? may be omitted

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

Copyright#