/* * tkWin.h -- * * Declarations of public types and interfaces that are only * available under Windows. * * Copyright (c) 1996-1997 by Sun Microsystems, Inc. * * See the file "license.terms" for information on usage and redistribution * of this file, and for a DISCLAIMER OF ALL WARRANTIES. * * RCS: @(#) $Id: tkWin.h,v 1.7 2004/12/18 20:21:09 chengyemao Exp $ */ #ifndef _TKWIN #define _TKWIN #ifndef _TK #include #endif #define WIN32_LEAN_AND_MEAN #include #undef WIN32_LEAN_AND_MEAN #ifdef BUILD_tk # undef TCL_STORAGE_CLASS # define TCL_STORAGE_CLASS DLLEXPORT #endif /* * The following messages are used to communicate between a Tk toplevel * and its container window. */ #define TK_CLAIMFOCUS (WM_USER) /* an embedded window requests to focus */ #define TK_GEOMETRYREQ (WM_USER+1) /* an embedded window requests to change size */ #define TK_ATTACHWINDOW (WM_USER+2) /* an embedded window requests to attach */ #define TK_DETACHWINDOW (WM_USER+3) /* an embedded window requests to detach */ /* *-------------------------------------------------------------- * * Exported procedures defined for the Windows platform only. * *-------------------------------------------------------------- */ #include "tkPlatDecls.h" # undef TCL_STORAGE_CLASS # define TCL_STORAGE_CLASS DLLIMPORT #endif /* _TKWIN */