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

How to create notes file on N9000.



Q. How do I create a notes file on the N9000 and store data in it?

A. To create a Notes file and store text in it:

   * Create an empty foam document file using FoamDocCreate.

   * Open the file using FoamDocOpen.

   * Initialize the conversion by calling FoamDocConvertFromDosInit.
     This function will create a temporary text object that you
     append text to. You can use regular text object messages like
     MSG_VIS_TEXT_APPEND_PTR.

   * When you are done appending text to the temporary text object
     call FoamDocConvertFromDosDone passing the file handle of your
     new foam document. The function will create text transfer items
     from the text object and store them in the foam document file.

   After this the new foam document can be viewed and edited by NoteBook.