Pen Object Library: 2.7 Working with the Ink DB: Searching and Traversing the Tree

Up: GEOS SDK TechDocs | Up | Prev: 2.6 Manipulating Notes | Next: 3 InkControlClass
InkNoteFindByTitle(), InkNoteFindByKeywords(), InkFolderDepthFirstTraverse()

Sometimes the user will remember what a note is called, but has lost it in the tree of folders. Sometimes the user will want to find all notes which contain a certain keyword. Use InkNoteFindByTitle() to get a buffer containing IDs of all notes whose titles match the passed string. InkNoteFindByKeywords() similarly returns a buffer containing the IDs of all notes with matching keywords.

For more complicated commands, InkFolderDepthFirstTraverse() allows the application to perform a depth-first traversal of the folder tree, calling the passed routine with all encountered folders.


Up: GEOS SDK TechDocs | Up | Prev: 2.6 Manipulating Notes | Next: 3 InkControlClass