summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorericm <ericm>2000-04-24 19:11:10 (GMT)
committerericm <ericm>2000-04-24 19:11:10 (GMT)
commita6fb23d1828713a594050d87218125254a99fa37 (patch)
treee39110f25cce7f35c2cf4b191a5de06606c91da4
parent0ee05109607d9b4366039240f05a7d1d096f5d58 (diff)
downloadtk-a6fb23d1828713a594050d87218125254a99fa37.zip
tk-a6fb23d1828713a594050d87218125254a99fa37.tar.gz
tk-a6fb23d1828713a594050d87218125254a99fa37.tar.bz2
* unix/mkLinks:
* doc/HWNDToWindow.3: Man page for Tk_HWNDToWindow [Bug: 1869].
-rw-r--r--doc/HWNDToWindow.330
-rw-r--r--unix/mkLinks4
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