Updating the Margin Area on the Screen

sw_mg() changes the margin information in the window structure. It does not update the screen. If the window is already on the screen, and you want to update the margins, call the video margins function, v_mg():

void v_mg(wnp)

WINDOWPTR wnp;        /* Pointer to displayed window        */

v_mg() draws the margins for the specified window.


Home Contents Previous Next