Article # 399, added by Geoworks, historical record
| first | previous | index | next | last |

Support for new floating keyboards.



Q. I remember hearing earlier about Geoworks desire to allow for new
   on-screen keyboards for pen based systems.

A. Yes, there is support for this. An application needs to supply
   its own PenInputControl (a child of the application object), put
   it on MGCNLT_ACTIVE_LIST (GCN list), and add
   ATTR_GEN_PEN_INPUT_CONTROL_IS_FLOATING_KEYBOARD and
   HINT_DONT_KEEP_INITIALLY_ONSCREEN to it (all of this can be done
   statically). GII_visibility should be GIV_DIALOG and
   GII_attrs = GIA_NOT_USER_INITIATABLE.

   The optr of the object should be stored in
   ATTR_GEN_APPLICATION_KBD_OBJ.

   The app can use ATTR_GEN_PEN_INPUT_CONTROL_CUSTOM_CHAR_TABLE_DATA
   to specify a app-custom keyboard layout.