summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorericm <ericm@noemail.net>2000-04-24 19:11:10 (GMT)
committerericm <ericm@noemail.net>2000-04-24 19:11:10 (GMT)
commit9a4f697f23b595e294c0b4efe7af8123c229f069 (patch)
treee39110f25cce7f35c2cf4b191a5de06606c91da4
parent96c233318c8a2d461050f362067121fbadfa745c (diff)
downloadtk-9a4f697f23b595e294c0b4efe7af8123c229f069.zip
tk-9a4f697f23b595e294c0b4efe7af8123c229f069.tar.gz
tk-9a4f697f23b595e294c0b4efe7af8123c229f069.tar.bz2
* unix/mkLinks:
* doc/HWNDToWindow.3: Man page for Tk_HWNDToWindow [Bug: 1869]. FossilOrigin-Name: 53aea9a8351661c322a0cb4e96417afe3833bac2
-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