1 /* 2 * tkWin.h -- 3 * 4 * Declarations of public types and interfaces that are only 5 * available under Windows. 6 * 7 * Copyright (c) 1996-1997 by Sun Microsystems, Inc. 8 * 9 * See the file "license.terms" for information on usage and redistribution 10 * of this file, and for a DISCLAIMER OF ALL WARRANTIES. 11 * 12 * RCS: @(#) Id 13 */ 14 15 #ifndef _TKWIN 16 #define _TKWIN 17 18 #ifndef _TK 19 #include <tk.h> 20 #endif 21 22 #define WIN32_LEAN_AND_MEAN 23 #include <windows.h> 24 #undef WIN32_LEAN_AND_MEAN 25 26 #ifdef BUILD_tk 27 # undef TCL_STORAGE_CLASS 28 # define TCL_STORAGE_CLASS DLLEXPORT 29 #endif 30 31 /* 32 * The following messages are use to communicate between a Tk toplevel 33 * and its container window. 34 */ 35 36 #define TK_CLAIMFOCUS (WM_USER) 37 #define TK_GEOMETRYREQ (WM_USER+1) 38 #define TK_ATTACHWINDOW (WM_USER+2) 39 #define TK_DETACHWINDOW (WM_USER+3) 40 41 42 /* 43 *-------------------------------------------------------------- 44 * 45 * Exported procedures defined for the Windows platform only. 46 * 47 *-------------------------------------------------------------- 48 */ 49 50 #include "tkPlatDecls.h" 51 52 # undef TCL_STORAGE_CLASS 53 # define TCL_STORAGE_CLASS DLLIMPORT 54 55 #endif /* _TKWIN */ 56