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