explorer: Create desktop window hidden and only show it if it wins the race.
dmitry at baikal.ru
Tue Mar 26 03:20:00 CDT 2013
Ken Thomases <ken at codeweavers.com> wrote:
> + ShowWindow( hwnd, SW_SHOW );
> SetWindowLongPtrW( hwnd, GWLP_WNDPROC, (LONG_PTR)desktop_wnd_proc );
> SendMessageW( hwnd, WM_SETICON, ICON_BIG, (LPARAM)LoadIconW( 0, MAKEINTRESOURCEW(OIC_WINLOGO)));
> if (name) set_desktop_window_title( hwnd, name );
You can postpone calling ShowWindow() after setting window text and icon,
since they are drawn as part of a non-client area, and changing them
forces another set of redraws.
More information about the wine-devel