17 <p>Every application has at least a <xref href="GUID-FD2CDEB8-0784-4BE5-A775-170F57D71BBC.dita">UI |
17 <p>Every application has at least a <xref href="GUID-FD2CDEB8-0784-4BE5-A775-170F57D71BBC.dita">UI |
18 controller</xref>, which is the root for all other controls owned by the application. |
18 controller</xref>, which is the root for all other controls owned by the application. |
19 When an event occurs under the window server, the window server passes the |
19 When an event occurs under the window server, the window server passes the |
20 event to the UI controller and possible other controls, depending on the event |
20 event to the UI controller and possible other controls, depending on the event |
21 and the architecture of your application.</p> |
21 and the architecture of your application.</p> |
22 <p>For more information on the window server, see <xref href="jar:GUID-35228542-8C95-4849-A73F-2B4F082F0C44.jar!/sdk/doc_source/guide/Graphics-subsystem-guide/WindowServerClientSide/WindowServerGuide1/WindowServerIntroduction.guide.html#WindowServerGuide1%2eintro" format="application/java-archive">Introduction to the window server</xref>.</p> |
22 <p>For more information on the window server, see <xref href="GUID-0C4B86B5-530A-5839-86C1-46E7ABE281E0.dita">Introduction |
23 <p>The following window server events have a special function:</p> |
23 to the window server</xref>.</p> |
24 <ul> |
|
25 <li><p><xref href="GUID-E402616A-7ED8-45AC-B836-99C3A3760B33.dita">Key events</xref></p> |
|
26 </li> |
|
27 <li><p><xref href="GUID-DD15F24B-0786-4531-A6C5-A5E70EBE2732.dita">Layout |
|
28 change events</xref></p> |
|
29 </li> |
|
30 <li><p><xref href="GUID-3B441CDC-AB7A-4D8D-A595-57C21E1D426C.dita">Foreground |
|
31 events</xref></p> |
|
32 </li> |
|
33 <li><p><xref href="GUID-4D2AA522-82AB-4D1E-9F1E-5C6A35DEF195.dita">Pointer |
|
34 events</xref></p> |
|
35 </li> |
|
36 <li><p><xref href="GUID-868C1A38-3CD0-4082-8106-DC3EE1F815D8.dita">System |
|
37 events</xref></p> |
|
38 </li> |
|
39 <li><p><xref href="GUID-95DD1440-01C9-4997-8DD4-FFD33D7DEAFF.dita">Application-specific |
|
40 events</xref></p> |
|
41 </li> |
|
42 <li><p><xref href="GUID-3729C075-4958-4874-9DD7-02A68D17E043.dita">Other |
|
43 window server events</xref></p> |
|
44 </li> |
|
45 </ul> |
|
46 <p>The framework provides different functions to handle each type of event |
24 <p>The framework provides different functions to handle each type of event |
47 separately. You must implement these functions for the events to be handled |
25 separately. You must implement these functions for the events to be handled |
48 by your application.</p> |
26 by your application.</p> |
49 <p> All the window server event types are defined in the <parmname>w32std.h</parmname> header, |
27 <p> All the window server event types are defined in the <parmname>w32std.h</parmname> header, |
50 and are as follows:</p> |
28 and are as follows:</p> |