summaryrefslogtreecommitdiff
path: root/tk/doc/HWNDToWindow.3
diff options
context:
space:
mode:
Diffstat (limited to 'tk/doc/HWNDToWindow.3')
-rw-r--r--tk/doc/HWNDToWindow.330
1 files changed, 30 insertions, 0 deletions
diff --git a/tk/doc/HWNDToWindow.3 b/tk/doc/HWNDToWindow.3
new file mode 100644
index 00000000000..05367bf4f8c
--- /dev/null
+++ b/tk/doc/HWNDToWindow.3
@@ -0,0 +1,30 @@
+'\"
+'\" Copyright (c) 1998-2000 by Scriptics Corporation.
+'\" All rights reserved.
+'\"
+'\" RCS: @(#) $Id$
+'\"
+.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