TerGetHdrFtrPos
Check if a line is location in a header or footer area
int TerGetHdrFtrPos(hWnd, line)
HWND hWnd; | The handle of the window to be accessed |
long line; | The line number to find the position. Set to -1 to find the location for the current line. |
Return Value: This function returns the following values to indicate the line position:
LFLAG_HDR | The line is location in a regular page header |
LFLAG_FTR | The line is location in a regular page footer |
LFLAG_FHDR | The line is location in first page header |
LFLAG_FFTR | The line is location in first page footer |
LFLAG_RHDR | The line is location in right (odd) page header |
LFLAG_RFTR | The line is location in right (odd) page footer |
LFLAG_LHDR | The line is location in left (even) page header |
LFLAG_LFTR | The line is location in left (even) page footer |
0 | The line is location in page body text |