In api.hlp you will find some useful examples of using Application Program Interface (API) functions with ToolBook.