user32/tests: add tests for WM_SETICON
Dmitry Timoshkov
dmitry at codeweavers.com
Mon Jan 15 22:54:22 CST 2007
"Kirill K. Smirnov" <lich at math.spbu.ru> wrote:
> + /* Message sequences for WM_SETICON */
> + hwnd = CreateWindowExA(0, "TestWindowClass", NULL,
> + WS_OVERLAPPEDWINDOW,
> + CW_USEDEFAULT, CW_USEDEFAULT, 300, 300, 0,
> + NULL, NULL, 0);
> + flush_sequence();
> + SendMessage(hwnd, WM_SETICON, ICON_SMALL, (LPARAM)LoadIcon(0, IDI_APPLICATION));
> + ok_sequence(WmSetIcon, "WM_SETICON for window with caption", FALSE);
This code doesn't show behaviour of a more interesting case - a visible window.
--
Dmitry.
More information about the wine-devel
mailing list