[prev in list] [next in list] [prev in thread] [next in thread]
List: wine-devel
Subject: Re: [TRY 4] user32/tests: Add tests for STM_SETIMAGE and
From: "Dmitry Timoshkov" <dmitry () codeweavers ! com>
Date: 2009-09-29 6:57:45
Message-ID: 276DDEBB032E4DE1BB2DADC68EEF028A () DMITRY
[Download RAW message or body]
"Ilya Shpigor" <shpigor@etersoft.ru> wrote:
> + flush_sequence();
> + SendMessageW(hwnd, STM_SETIMAGE, (WPARAM)IMAGE_BITMAP, (LPARAM)hbm);
> + todo_wine ok_sequence(WmSetImageErrStaticSeq, "STM_SETIMAGE on a static", FALSE);
> +
> + flush_sequence();
> + SendMessageW(hwnd, STM_SETIMAGE, (WPARAM)IMAGE_ICON, (LPARAM)hicon);
> + todo_wine ok_sequence(WmSetImageErrStaticSeq, "STM_SETIMAGE on a static", FALSE);
> +
> + flush_sequence();
> + SendMessageW(hwnd, STM_SETICON, (WPARAM)hicon, 0);
> + todo_wine ok_sequence(WmSetIconErrStaticSeq, "STM_SETICON on a static", FALSE);
> +
> + flush_sequence();
> + SendMessageW(hwnd, STM_SETIMAGE, (WPARAM)IMAGE_ENHMETAFILE, (LPARAM)hemf);
> + todo_wine ok_sequence(WmSetImageErrStaticSeq, "STM_SETIMAGE on a static", FALSE);
You should use SendMessageA instead of SendMessageW to make the test run
under Win9x as well. Testing the return value of SendMessage would be also
helpful.
--
Dmitry.
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic