4 From: Bram Moolenaar <Bram@moolenaar.net>
6 Content-Type: text/plain; charset=ISO-8859-1
7 Content-Transfer-Encoding: 8bit
11 Problem: Win32 GUI: When the Vim window is partly above or below the
12 screen, scrolling causes display errors when the taskbar is not on
14 Solution: Use the SW_INVALIDATE flag when the Vim window is partly below or
19 *** ../vim-6.3.016/src/gui_w48.c Thu Dec 16 14:26:44 2004
20 --- src/gui_w48.c Sun May 22 12:06:07 2005
24 RECT rcVim, rcOther, rcDest;
26 GetWindowRect(s_hwnd, &rcVim);
28 + /* Check if the window is partly above or below the screen. We don't care
29 + * about partly left or right of the screen, it is not relevant when
30 + * scrolling up or down. */
31 + if (rcVim.top < 0 || rcVim.bottom > GetSystemMetrics(SM_CYFULLSCREEN))
32 + return SW_INVALIDATE;
34 + /* Check if there is an window (partly) on top of us. */
35 for (hwnd = s_hwnd; (hwnd = GetWindow(hwnd, GW_HWNDPREV)) != (HWND)0; )
36 if (IsWindowVisible(hwnd))
38 *** ../vim-6.3.016/src/version.c Fri May 20 13:18:31 2005
39 --- src/version.c Sun May 22 12:08:44 2005
43 { /* Add new patch number below this line */
49 TERRY GILLIAM PLAYED: PATSY (ARTHUR'S TRUSTY STEED), THE GREEN KNIGHT
50 SOOTHSAYER, BRIDGEKEEPER, SIR GAWAIN (THE FIRST TO BE
52 "Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD
54 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
55 /// Sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
56 \\\ Project leader for A-A-P -- http://www.A-A-P.org ///
57 \\\ Buy LOTR 3 and help AIDS victims -- http://ICCF.nl/lotr.html ///