| DrawWinBorder | Function (ROM Call 0x27)

wingraph.h

void DrawWinBorder (WINDOW *w, SCR_RECT *rect);

Draws a border of a window.

DrawWinBorder is an internal function which draws a border of the window, and optionally a title bar. The actual dimensions of the border are given in the SCR_RECT structure rect, but all other parameters (border shape, etc.) will be picked from the structure pointed to by w. Not very useful as a standalone function, although may be sometimes used in combination with WinBackupToScr. Note that you can pass &w.Window as the rect parameter.

Uses: DrawClipRect, DrawLine, DrawStr, DrawStrWidth, FontSetSys, LineTo, MoveTo, ScrRectFill, ScrToWin, SetCurAttr, SetCurClip
Used by: WinActivate, WinClr, WinDeactivate, WinRemove, ABT_dialog, handleVarLinkKey, HomeExecute, paint_all_except, UpdateWindows