Showing changes from revision #4 to #5:
Added | Removed | Changed
Exit | |
---|---|
Block | |
+0 | Window handle |
+4 | Icon handle, or -1 if none |
+8 | X offset (relative to window origin) |
+12 | Y offset (relative to window origin) |
+16 | Caret Flags |
+20 | Index into string, or -1 if none |
This code is returned from Wimp_Poll and indicates that the window has now received the input focus.
This event usually occurs due to a user clicking on an icon or window that accepts text. It can also happen if an application explicitly calls Wimp_SetCaretPosition.
Windows and icons can be set to accept text by setting the button types within the window flag and icon flags respectively.
This event code is not generated if the input focus changes within the same window.