Showing changes from revision #5 to #6:
Added | Removed | Changed
Exit | |
---|---|
Block | |
+0 | Window handle with focus |
+4 | Icon handle, or -1 if none |
+8 | X offset of caret (relative to window origin) |
+12 | Y offset of caret (relative to window origin) |
+16 | Caret Flags |
+20 | Index of caret into string (if icon) |
+24 | Character Code (4 bytes) |
This code is returned from Wimp_Poll and indicates that a key has been pressed while a window belonging to the current application has the input focus.
If the application does not wish to act upon a keypress such as a hot ‘hot key’, then they the keypress can be passed on to other applications by callingWimp_ProcessKey.
If the caret is inside a writeable icon when a key is pressed, Wimp_Poll will not generate this code for Wimp Managed Key Presses.
Wide characters are reported using multiple Key_Pressed events.