diff options
-rw-r--r-- | doc/HWNDToWindow.3 | 30 | ||||
-rw-r--r-- | unix/mkLinks | 4 |
2 files changed, 34 insertions, 0 deletions
diff --git a/doc/HWNDToWindow.3 b/doc/HWNDToWindow.3 new file mode 100644 index 0000000..7e47c90 --- /dev/null +++ b/doc/HWNDToWindow.3 @@ -0,0 +1,30 @@ +'\" +'\" Copyright (c) 1998-2000 by Scriptics Corporation. +'\" All rights reserved. +'\" +'\" RCS: @(#) $Id: HWNDToWindow.3,v 1.1 2000/04/24 19:11:10 ericm Exp $ +'\" +.so man.macros +.TH Tk_HWNDToWindow 3 "" Tk "Tk Library Procedures" +.BS +.SH NAME +Tk_HWNDToWindow \- Find Tk's window information for a Windows window +.SH SYNOPSIS +.nf +\fB#include <tk.h>\fR +.sp +Tk_Window +\fBTk_HWNDToWindow\fR(\fIhwnd\fR) +.SH ARGUMENTS +.AP HWND hwnd in +Windows handle for the window. +.BE + +.SH DESCRIPTION +.PP +Given a Windows HWND window identifier, this procedure returns the +corresponding Tk_Window handle. If there is no Tk_Window corresponding +to \fIhwnd\fR then NULL is returned. + +.SH KEYWORDS +Windows window id diff --git a/unix/mkLinks b/unix/mkLinks index 8c4df6f..8fe71ab 100644 --- a/unix/mkLinks +++ b/unix/mkLinks @@ -607,6 +607,10 @@ if test -r IdToWindow.3; then rm -f Tk_IdToWindow.3 ln IdToWindow.3 Tk_IdToWindow.3 fi +if test -r HWNDToWindow.3; then + rm -f Tk_HWNDToWindow.3 + ln HWNDToWindow.3 Tk_HWNDToWindow.3 +fi if test -r ImgChanged.3; then rm -f Tk_ImageChanged.3 ln ImgChanged.3 Tk_ImageChanged.3 |