Contents | Index | < Browse | Browse >

  C Programmers Interface :

  If you can program in C, there is a special type of message
  that Gui4Cli understands that will enable you to interface
  with Gui4Cli and in effect provide extensions to Gui4Cli's 
  command set, as follows :

  - From outside programs -to-> Gui4Cli

    a) Send message and LOCK Gui4Cli, look at it's internal
       structures, manipulate variables, listviews etc, and then
       unlock it again, and let it continue, or

    b) Send command lines for it to execute (like rexx msgs)

  - From Gui4Cli -to-> outside programs

    Use the new command :

    >  CALL  PortName Command Arg1 Arg2... Arg6

    to send special Gui4Cli messages containing commands
    to outside programs, who should then process the commands
    using, if they want, any of Gui4Cli's internal structures,
    and give control back to Gui4Cli (maybe returning something)

  The place to start if you are interested is the guis:ext 
  directory, which contains :

  - the  Gui4Cli.h  include file, showing all the internal Gui4Cli 
    structures that you can access and

  - Many examples showing you all possible ways you can interface,
    as well as how to manipulate listviews and other internal
    structures. They are kept as simple as possible and are well
    commented.

  If you write any such extension binaries, I want them!