## Tcl9.0.3/Tk9.0.3 Documentation > Tk C API > GetHWND

### Tcl/Tk Applications | Tcl Commands | Tk Commands | [incr Tcl] Package Commands | SQLite3 Package Commands | TDBC Package Commands | tdbc::mysql Package Commands | tdbc::odbc Package Commands | tdbc::postgres Package Commands | tdbc::sqlite3 Package Commands | Thread Package Commands | Tcl C API | Tk C API | [incr Tcl] Package C API | TDBC Package C API

### NAME

Tk_GetHWND, Tk_AttachHWND — Windows の操作子と X windowとの対話機能を制御する manage interactions between the Windows handle and an X window

### SYNOPSIS

#include <tkPlatDecls.h>
HWND
Tk_GetHWND(window)
Window
Tk_AttachHWND(tkwin, hwnd)

### 引数 ARGUMENTS

Window window (入力in)
  窓の為の X 字句｡　 X token for window.

Tk_Window tkwin (入力in)
  窓の為のTk 窓｡ Tk window for window.

HWND hwnd (入力in)
  窓の為の窓のHWND ｡　 Windows HWND for window.

### 説明 DESCRIPTION

Tk_GetHWND は window によって与えられる X Windows 窓に関する Windows HWND 識別子を返す｡ Tk_GetHWND returns the Windows HWND identifier for X Windows window given by window.

Tk_AttachHWND は Windows HWND 識別子を tkwin.によって与えられ､指定された Tk_Window に結合する｡それはHWND を要約する X Windows 窓を返す ｡ Tk_AttachHWND binds the Windows HWND identifier to the specified Tk_Window given by tkwin. It returns an X Windows window that encapsulates the HWND.

### KEYWORDS

identifier, window
Copyright © 1998-2000 Scriptics Corporation.