summaryrefslogtreecommitdiff
path: root/freebsdtvision/doc/html/structMessageEvent.html
blob: 8c4ddca8335e12917a04c4570d5d395c55bd0ef8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
<title>MessageEvent struct Reference</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.2.18 -->
<center>
<a class="qindex" href="index.html">Main Page</a> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</a> &nbsp; <a class="qindex" href="classes.html">Alphabetical List</a> &nbsp; <a class="qindex" href="annotated.html">Compound List</a> &nbsp; <a class="qindex" href="files.html">File List</a> &nbsp; <a class="qindex" href="functions.html">Compound Members</a> &nbsp; <a class="qindex" href="globals.html">File Members</a> &nbsp; </center>
<hr><h1>MessageEvent Struct Reference</h1>Information about message events. 
<a href="#_details">More...</a>
<p>
<code>#include &lt;<a class="el" href="system_8h-source.html">system.h</a>&gt;</code>
<p>
<a href="structMessageEvent-members.html">List of all members.</a><table border=0 cellpadding=0 cellspacing=0>
<tr><td></td></tr>
<tr><td colspan=2><br><h2>Public Attributes</h2></td></tr>
<tr><td nowrap align=right valign=top><a class="el" href="ttypes_8h.html#a0">ushort</a>&nbsp;</td><td valign=bottom><a class="el" href="structMessageEvent.html#m0">command</a></td></tr>
<tr><td nowrap align=right valign=top>void *&nbsp;</td><td valign=bottom><a class="el" href="structMessageEvent.html#m1">infoPtr</a></td></tr>
<tr><td nowrap align=right valign=top>long&nbsp;</td><td valign=bottom><a class="el" href="structMessageEvent.html#m2">infoLong</a></td></tr>
<tr><td nowrap align=right valign=top><a class="el" href="ttypes_8h.html#a0">ushort</a>&nbsp;</td><td valign=bottom><a class="el" href="structMessageEvent.html#m3">infoWord</a></td></tr>
<tr><td nowrap align=right valign=top>short&nbsp;</td><td valign=bottom><a class="el" href="structMessageEvent.html#m4">infoInt</a></td></tr>
<tr><td nowrap align=right valign=top><a class="el" href="ttypes_8h.html#a1">uchar</a>&nbsp;</td><td valign=bottom><a class="el" href="structMessageEvent.html#m5">infoByte</a></td></tr>
<tr><td nowrap align=right valign=top>char&nbsp;</td><td valign=bottom><a class="el" href="structMessageEvent.html#m6">infoChar</a></td></tr>
</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>
This structure stores information about message events.
<p>
A message event is a command, specified by the command field, together with one of several additional pieces of information, ranging from a single byte of data to a generic pointer.
<p>
This arrangement allows for great flexibility when TVision objects need to transmit and receive messages to and from other TVision objects. <dl compact><dt><b>See also: </b></dt><dd>
<a class="el" href="structTEvent.html">TEvent</a> </dl>
<p>

<p>
Definition at line <a class="el" href="system_8h-source.html#l00294">294</a> of file <a class="el" href="system_8h-source.html">system.h</a>.<hr><h2>Member Data Documentation</h2>
<a name="m0" doxytag="MessageEvent::command"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> <a class="el" href="ttypes_8h.html#a0">ushort</a> MessageEvent::command
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Is the code of the command.
<p>
See `<a class="el" href="views_8h.html">views.h</a>' for a list of standard commands. Other commands are defined in `<a class="el" href="colorsel_8h.html">colorsel.h</a>', `<a class="el" href="dialogs_8h.html">dialogs.h</a>', `<a class="el" href="editors_8h.html">editors.h</a>', `<a class="el" href="outline_8h.html">outline.h</a>' and `<a class="el" href="stddlg_8h.html">stddlg.h</a>'. 
<p>
Definition at line <a class="el" href="system_8h-source.html#l00303">303</a> of file <a class="el" href="system_8h-source.html">system.h</a>.    </td>
  </tr>
</table>
<a name="m5" doxytag="MessageEvent::infoByte"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> <a class="el" href="ttypes_8h.html#a1">uchar</a> MessageEvent::infoByte
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
An unsigned byte. 
<p>
Definition at line <a class="el" href="system_8h-source.html#l00329">329</a> of file <a class="el" href="system_8h-source.html">system.h</a>.    </td>
  </tr>
</table>
<a name="m6" doxytag="MessageEvent::infoChar"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> char MessageEvent::infoChar
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
A signed character. 
<p>
Definition at line <a class="el" href="system_8h-source.html#l00333">333</a> of file <a class="el" href="system_8h-source.html">system.h</a>.    </td>
  </tr>
</table>
<a name="m4" doxytag="MessageEvent::infoInt"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> short MessageEvent::infoInt
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
A signed short. 
<p>
Definition at line <a class="el" href="system_8h-source.html#l00325">325</a> of file <a class="el" href="system_8h-source.html">system.h</a>.    </td>
  </tr>
</table>
<a name="m2" doxytag="MessageEvent::infoLong"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> long MessageEvent::infoLong
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
A signed long. 
<p>
Definition at line <a class="el" href="system_8h-source.html#l00317">317</a> of file <a class="el" href="system_8h-source.html">system.h</a>.    </td>
  </tr>
</table>
<a name="m1" doxytag="MessageEvent::infoPtr"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> void* MessageEvent::infoPtr
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
A generic pointer.
<p>
I suggest you to pay attention to these fields. Use always the same type in the sender and in the receivers of the message. Otherwise you may experiment portability problems. 
<p>
Definition at line <a class="el" href="system_8h-source.html#l00313">313</a> of file <a class="el" href="system_8h-source.html">system.h</a>.    </td>
  </tr>
</table>
<a name="m3" doxytag="MessageEvent::infoWord"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> <a class="el" href="ttypes_8h.html#a0">ushort</a> MessageEvent::infoWord
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
An unsigned short. 
<p>
Definition at line <a class="el" href="system_8h-source.html#l00321">321</a> of file <a class="el" href="system_8h-source.html">system.h</a>.    </td>
  </tr>
</table>
<hr>The documentation for this struct was generated from the following file:<ul>
<li><a class="el" href="system_8h-source.html">system.h</a></ul>
<hr><address style="align: right;"><small>Generated on Wed Apr 2 22:13:15 2003 for TVision by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0 
width=110 height=53></a>1.2.18 </small></address>
</body>
</html>