Exemple

L'exemple suivant montre comment déterminer si l'OIA indique que le clavier est en mode insertion.

//------------------------------------------------------------------- // ECLOIA::IsInsertMode // // Determine status of connection 'A' OIA indicator //------------------------------------------------------------------- void Sample54() { ECLOIA OIA('A'); // OIA object for connection A if (OIA.IsInsertMode()) printf("InsertMode.\n"); else printf("Not InsertMode.\n"); } // end sample