NewStaticOutlineA
Outlines
Description
The trailing A denotes the ANSI (char) DLL entry point; the ActiveX/COM surface exposes only the Unicode form. Behaviour is identical to NewStaticOutline and string arguments are interpreted using the current SetAnsiMode code page
This function creates a new outline without an action. The action can later be set using the
SetOutlineDestination, SetOutlineWebLink or SetOutlineJavaScript functions
Syntax
Delphi
Function DLNewStaticOutlineA(InstanceID, Parent: Integer; Title: PAnsiChar): Integer;
DLL
int DLNewStaticOutlineA(int InstanceID, int Parent, const char * Title);
Parameters
| Parent | 0 for a root item, or the ID of the parent item if this is a child item |
|---|---|
| Title | The title of the outline item |
Return values
| 0 | The outline item could not be added |
|---|---|
| Non-zero | The ID of the outline item that was added |