SECEdit::GetNextFlag

intSECEdit::GetNextFlag(intnLine, unsigned intnFlag, BOOLbForward)

Retrieves the next line number that has a given flag set. This method can traverse lines in either direction.

Defined in: SECEdit.cpp

Return Value

Returns the line index. If no match is found, returns the given line number if given line has the flag set; otherwise returns -1.

Parameters

nLine

The line index.

nFlag

The index of the flag.

bForward

Indicates the direction to search. If non-zero, searches in a forward direction.

See Also

SECEdit  SECEditItemData

GetItemDataFlag  ToggleItemDataFlag

DeleteAllItemDataFlag  CountItemDataFlag