summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--doc/GetHINSTANCE.325
-rw-r--r--unix/mkLinks4
2 files changed, 29 insertions, 0 deletions
diff --git a/doc/GetHINSTANCE.3 b/doc/GetHINSTANCE.3
new file mode 100644
index 0000000..0777936
--- /dev/null
+++ b/doc/GetHINSTANCE.3
@@ -0,0 +1,25 @@
+'\"
+'\" Copyright (c) 1998-2000 by Scriptics Corporation.
+'\" All rights reserved.
+'\"
+'\" RCS: @(#) $Id: GetHINSTANCE.3,v 1.1 2000/04/25 01:12:51 ericm Exp $
+'\"
+.so man.macros
+.TH Tk_GetHISTANCE 3 "" Tk "Tk Library Procedures"
+.BS
+.SH NAME
+Tk_GetHINSTANCE \- retrieve the global application instance handle
+.SH SYNOPSIS
+.nf
+\fB#include <tk.h>\fR
+.sp
+HINSTANCE
+\fBTk_GetHINSTANCE\fR()
+
+.SH DESCRIPTION
+.PP
+\fBTk_GetHINSTANCE\fR returns the Windows application instance handle
+for the Tk application. This function is only available on Windows platforms.
+
+.SH KEYWORDS
+identifier, instance
diff --git a/unix/mkLinks b/unix/mkLinks
index a33041f..25de2cc 100644
--- a/unix/mkLinks
+++ b/unix/mkLinks
@@ -607,6 +607,10 @@ if test -r GetHWND.3; then
rm -f Tk_GetHWND.3
ln GetHWND.3 Tk_GetHWND.3
fi
+if test -r GetHINSTANCE.3; then
+ rm -f Tk_GetHINSTANCE.3
+ ln GetHINSTANCE.3 Tk_GetHINSTANCE.3
+fi
if test -r IdToWindow.3; then
rm -f Tk_IdToWindow.3
ln IdToWindow.3 Tk_IdToWindow.3