SysTutorials

Linux Manual Pages › Section 3

tk_hwndtowindow(3)

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