TerEditListOr
Create or edit a list-override item.
int TerEditListOr(hWnd, NewListOr, ListOrId, PropDialog, ListId, OverrideLevels, flags)
HWND hWnd; | The handle of the window to be accessed |
BOOL NewListOr; | Set to TRUE to create a new list-override item. Set to FALSE to modify an existing list-override item. |
int ListOrId; | The id of the list-override item to modify. This parameter is ignored when the 'NewListOr' parameter is set to TRUE. |
BOOL PropDialog; | Show a dialog box for the user to enter the list-override properties. When this parameter is set to TRUE, the values for the remaining parameters are ignored. |
int ListId; | The id of the list item to override. |
BOOL OverrideLevels; | Set to TRUE to create a new set of level information for the list-override. The level information includes properties such as number-format, starting-number, fonts, etc. When this parameter is FALSE, the list-override item simply points to the corresponding list item without any modification. |
DWORD flags; | Set to Zero. This parameters is reserved for future use. |
Description: The list-override items are used to override the list items. Multiple list overrides can be created for a list item. This allows for various fragments of a continuous list to be displayed in different formats. Please refer to the TerEditList function for further description of list numbering mechanism..
Return Value: When successful, this function returns a valid list-override id. A return value of -1 indicates an error condition.