Window Functions

Window functions use window handles (hwnd). These are macro handles to open source file windows. Windows display file buffers in them. An hwnd is typically a small integer value. An hwnd of zero indicates an error.

Note that a macro hwnd is similar in concept, but is not exactly the same as a window handle HWND in the Microsoft Windows API.

Each window has a selection in it which describes what characters are selected. See the GetWndSel function for more information.

More:

NewWnd (hbuf)

CloseWnd (hwnd)

SetCurrentWnd (hwnd)

GetCurrentWnd ()

GetWndHandle (hbuf)

GetWndBuf (hwnd)

GetNextWnd (hwnd)

GetWndSel (hwnd)

SetWndSel (hwnd, selection_record)

GetWndSelLnFirst (hwnd)

GetWndSelLnLast (hwnd)

GetWndSelIchFirst (hwnd)

GetWndSelIchLim (hwnd)

MaximizeWnd (hwnd)

MinimizeWnd (hwnd)

ToggleWndMax (hwnd)

IsWndMax (hwnd)

IsWndMin (hwnd)

IsWndRestored (hwnd)

ScrollWndToLine (hwnd, ln)

ScrollWndVert (hwnd, line_count)

ScrollWndHoriz (hwnd, pixel_count)

GetWndVertScroll (hwnd)

GetWndHorizScroll (hwnd)

GetWndLineCount (hwnd)


Home Contents Previous Next