3 <title>ChildMessage - ANDROMEDA X-windows Encapsulation</title>
7 <h1>window::ChildMessage</h1>
11 ChildMessage - Receive a message from a subwindow
15 virtual void window::ChildMessage(w_msg &message);
18 A window may send a message to its parent when something important happens
20 Examples of situations where such messages are being sent are:
23 <li>A menu item is selected
24 <li>The text in an edit window is changed
25 <li>The slider in a scrollbar is repositioned.
26 <li>An item in a list is selected.
27 <li>A radio button is clicked.
30 In all these cases the parent window must be notified because other
31 windows may be affected by the event.
32 For example, when a slider in a scrollbar is repositioned, the contents
33 of the window next to the scrollbar must be adjusted accordingly.
35 A <strong>w_msg</strong> is a simple structure:
50 <a href="window_parentmessage.html">ParentMessage</a>