style |= WS_CAPTION | WS_BORDER | WS_THICKFRAME;
style |= WS_CAPTION | WS_BORDER; if (cfg.resize_action == RESIZE_DISABLED) style &= ~WS_THICKFRAME; else style |= WS_THICKFRAME;
void clear_full_screen(){    DWORD oldstyle, style;    /* Reinstate the window furniture. */    style = oldstyle = GetWindowLong(hwnd, GWL_STYLE);    style |= WS_CAPTION | WS_BORDER | WS_THICKFRAME;    if (cfg.scrollbar)	style |= WS_VSCROLL;    else	style &= ~WS_VSCROLL;    if (style != oldstyle) {	SetWindowLong(hwnd, GWL_STYLE, style);	SetWindowPos(hwnd, NULL, 0, 0, 0, 0,		     SWP_NOMOVE | SWP_NOSIZE | SWP_NOZORDER |		     SWP_FRAMECHANGED);    }    /* Untick the menu item in the System menu. */    CheckMenuItem(GetSystemMenu(hwnd, FALSE), IDM_FULLSCREEN,		  MF_UNCHECKED);}