1 To: vim_dev@googlegroups.com
4 From: Bram Moolenaar <Bram@moolenaar.net>
6 Content-Type: text/plain; charset=UTF-8
7 Content-Transfer-Encoding: 8bit
11 Problem: MS-Windows: When using a black background some screen updates
12 cause the window to flicker.
13 Solution: Add WS_CLIPCHILDREN to CreateWindow(). (René Aguirre)
17 *** ../vim-7.3.274/src/gui_w32.c 2011-07-07 17:43:37.000000000 +0200
18 --- src/gui_w32.c 2011-08-10 14:40:58.000000000 +0200
21 s_hwnd = CreateWindowEx(
23 szVimWndClass, "Vim MSWindows GUI",
24 ! WS_OVERLAPPEDWINDOW | WS_CHILD | WS_CLIPSIBLINGS | 0xC000,
25 gui_win_x == -1 ? CW_USEDEFAULT : gui_win_x,
26 gui_win_y == -1 ? CW_USEDEFAULT : gui_win_y,
27 100, /* Any value will do */
29 s_hwnd = CreateWindowEx(
31 szVimWndClass, "Vim MSWindows GUI",
32 ! WS_OVERLAPPEDWINDOW | WS_CHILD
33 ! | WS_CLIPSIBLINGS | WS_CLIPCHILDREN | 0xC000,
34 gui_win_x == -1 ? CW_USEDEFAULT : gui_win_x,
35 gui_win_y == -1 ? CW_USEDEFAULT : gui_win_y,
36 100, /* Any value will do */
39 * titlebar, it will be reparented below. */
40 s_hwnd = CreateWindow(
41 szVimWndClass, "Vim MSWindows GUI",
42 ! win_socket_id == 0 ? WS_OVERLAPPEDWINDOW : WS_POPUP,
43 gui_win_x == -1 ? CW_USEDEFAULT : gui_win_x,
44 gui_win_y == -1 ? CW_USEDEFAULT : gui_win_y,
45 100, /* Any value will do */
47 * titlebar, it will be reparented below. */
48 s_hwnd = CreateWindow(
49 szVimWndClass, "Vim MSWindows GUI",
50 ! (win_socket_id == 0 ? WS_OVERLAPPEDWINDOW : WS_POPUP)
51 ! | WS_CLIPSIBLINGS | WS_CLIPCHILDREN,
52 gui_win_x == -1 ? CW_USEDEFAULT : gui_win_x,
53 gui_win_y == -1 ? CW_USEDEFAULT : gui_win_y,
54 100, /* Any value will do */
55 *** ../vim-7.3.274/src/version.c 2011-08-10 14:32:33.000000000 +0200
56 --- src/version.c 2011-08-10 14:39:14.000000000 +0200
60 { /* Add new patch number below this line */
66 ARTHUR: What does it say?
67 BROTHER MAYNARD: It reads ... "Here may be found the last words of Joseph of
68 Aramathea." "He who is valorous and pure of heart may find
69 the Holy Grail in the aaaaarrrrrrggghhh..."
71 BROTHER MAYNARD: "The Aaaaarrrrrrggghhh..."
72 "Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD
74 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
75 /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
76 \\\ an exciting new programming language -- http://www.Zimbu.org ///
77 \\\ help me help AIDS victims -- http://ICCF-Holland.org ///