TerSetParaList
Set list numbering for the paragraph.
BOOL TerSetParaList(hWnd, dialog, ParaId, ListOr, level, repaint)
HWND hWnd; | The handle of the window to be accessed |
BOOL dialog: | Set to TRUE to show a dialog box to the user to select list-override and level information. |
BOOL ParaId; | The paragraph id to modify. Set to -1 to apply list numbering to the current paragraph, currently selected paragraph, or to the stylesheet item currently being edited. |
int ListOr; | The list-override id to use for the paragraph. |
int level; | The level number to use for the paragraph. A simple list allows only one list level (level 0). A nested list allows up to 9 levels (0 to 8). |
BOOL repaint: | Set to TRUE to repaint the screen after this operation. |
Return Value: This function returns TRUE when successful.